docs/index.rst
ReflectionDocBlock is a PHP library that provides a DocBlock parser fully compatible with the PHPDoc standard. It allows you to parse, interpret, and extract information from DocBlocks in your PHP code, enabling support for annotations and metadata extraction.
Here's a minimal example of how to use ReflectionDocBlock in your project:
.. literalinclude:: examples/01-interpreting-a-simple-docblock.php :language: php :caption: examples/01-interpreting-a-simple-docblock.php
For more detailed usage and how-to guides, see the how-to/ section.
.. toctree:: :maxdepth: 2 :hidden:
installation how-to/index upgrade-to-v6 contributing