1of0 / phpdoc-reader
PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
3.0.1
2016-03-07 17:04 UTC
Requires
- php: >=5.5.0
- doctrine/annotations: ^1.2.0
Requires (Dev)
- phpunit/phpunit: ~4.6
This package is auto-updated.
Last update: 2026-04-29 00:38:28 UTC
README
This is a fork of the php-di/phpdoc-reader package.
Changes
- Deprecated methods are removed
- Adds support for multi-type declarations (e.g.
@var Foo|Bar|Baz $var) - Depends on doctrine/annotations package
Roadmap
- Caching reader implementation
- Support for complex types (arrays, Doctrine ArrayCollections)
- Support for scalar types