phpstan/phpdoc-parser
PHPDoc Parser for PHPStan that parses, represents, and modifies PHPDoc blocks as an AST. Supports rich type syntax (unions, generics, shapes, callables, conditional types), constant expressions, and Doctrine annotations, with full API reference for nodes.
Architecture fit: The package provides a robust AST-based parser for PHPDoc comments, ideal for static analysis tools, code generators, or documentation processors. Its design aligns with PHPStan's architecture but is also suitable for standalone use cases requiring precise PHPDoc manipulation. MIT license ensures flexibility for commercial and open-source projects.
Integration feasibility: Composer
How can I help you explore Laravel packages today?