spiral / annotations
This package is abandoned and no longer maintained.
No replacement package was suggested.
Annotations parser using strict node grammar
2.14.1
2022-09-12 15:12 UTC
Requires
- php: >=7.4
- spiral/attributes: ^2.14.1
- spiral/tokenizer: ^2.14.1
Requires (Dev)
- phpunit/phpunit: ^8.5|^9.5
- dev-master / 2.15.x-dev
- 2.14.1
- 2.14.0
- 2.13.1
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.1
- 2.10.0
- 2.9.x-dev
- 2.9.1
- 2.9.0
- 2.8.x-dev
- v2.8.12
- v2.8.10
- v2.8.9
- v2.8.8
- v2.8.7
- v2.8.5
- v2.8.4
- v2.8.2
- v2.8.1
- v2.8.0
- 2.7.x-dev
- v2.7.9
- v2.7.8
- v2.7.7
- v2.7.6
- v2.7.5
- v2.7.4
- v2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- v2.0.0
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-feature/attributes
This package is auto-updated.
Last update: 2024-02-12 17:58:06 UTC
README
Package is deprecated. Please, use spiral/attributes
instead
Installation
Service does not require any bootloader and can be enabled in spiral application with simple composer dependency.
$ composer require spiral/annotations
Example
To find all annotated classes:
use Spiral\Annotations; $locator = new Annotations\AnnotationLocator($classLocator); foreach($locator->findClasses(MyAnnotation::class) as $class) { dump($class->getClass()); dump($class->getAnnotation()); }