Libraries and building blocks

PHPStan PHPDoc Parser

PHPDoc parser with support for nullable, intersection, generic, and other advanced types.

Installation and compatibility

Type
Library
PHP
PHP 7.4 or PHP 8.x
License
MIT
Pricing
Free and open source
Install
composer require phpstan/phpdoc-parser

Check the project documentation for configuration and version-specific requirements.

Strengths and limitations

ProProvides a maintained PHPDoc AST with generics and advanced type syntax.

ConIt is a parser library, not a ready-to-run analyzer.

Editorially reviewed

Repository activity

Activity: Active. Repository activity is a separate signal from suitability for your application.

Latest release
2.4.1
Last commit
Last release

Metadata checked: .

Explore related tools

Browse all libraries and building blocks. Tools in the same category can serve different workflows; compare their requirements and limitations.