Annotations Docblock Parser
⚠️ 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.
Docblock Annotations Parser library (extracted from Doctrine Common).
See the doctrine-project website.
When making a pull request, make sure your changes follow the Coding Standard Guidelines.
Bug with PhpParser when instantiating the Tokenizer
[RFC] Flag the package as abandoned on Packagist
PsrCachedReader::fetchFromCache might return null instead of array under high request rate
Annotation imports are not parsed for nested traits
Add @type to ignored list
CachedReader fails if Reflection class is eval'd code
ignores extra closing brackets
Possible BC break in nested array annotations with @NestedAnnotation
Build an AST (Abstract syntax tree), before resolving classes and constants?
Annotations from Traits are ignored