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.

Maintainers

Package info

bitbucket.org/1of0/phpdocreader

Issues

pkg:composer/1of0/phpdoc-reader

Statistics

Installs: 228

Dependents: 1

Suggesters: 0

3.0.1 2016-03-07 17:04 UTC

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