doctrine/annotations
Docblock Annotations Parser
Maintainers
Requires
- php: ^7.2 || ^8.0
- ext-tokenizer: *
- doctrine/lexer: ^2 || ^3
- psr/cache: ^1 || ^2 || ^3
Requires (Dev)
- doctrine/cache: ^2.0
- doctrine/coding-standard: ^10
- phpstan/phpstan: ^1.10.28
- phpunit/phpunit: ^7.5 || ^8.5 || ^9.5
- symfony/cache: ^5.4 || ^6.4 || ^7
- vimeo/psalm: ^4.30 || ^5.14
Suggests
- php: PHP 8.0 or higher comes with attributes, a native replacement for annotations
Provides
None
Conflicts
None
Replaces
None
MIT 901c2ee5d26eb64ff43c47976e114bf00843acf7
- Guilherme Blanco <guilhermeblanco.woop@gmail.com>
- Roman Borschel <roman.woop@code-factory.org>
- Benjamin Eberlei <kontakt.woop@beberlei.de>
- Jonathan Wage <jonwage.woop@gmail.com>
- Johannes Schmitt <schmittjoh.woop@gmail.com>
This package is auto-updated.
Last update: 2025-12-11 07:45:07 UTC
README
⚠️ PHP 8 introduced attributes, which are a native replacement for annotations. As such, this library is considered feature complete, and should receive exclusively bugfixes and security fixes.
We do not recommend using this library in new projects and encourage authors of downstream libraries to offer support for attributes as an alternative to Doctrine Annotations.
Have a look at our blog to learn more.
Doctrine Annotations
👁 Build Status
👁 Dependency Status
👁 Reference Status
👁 Total Downloads
👁 Latest Stable Version
Docblock Annotations Parser library (extracted from Doctrine Common).
Documentation
See the doctrine-project website.
Contributing
When making a pull request, make sure your changes follow the Coding Standard Guidelines.
