crodas/class-info
crodas/class-info is a lightweight PHP introspection utility for reading class metadata via reflection. It exposes methods, properties, parent classes, interfaces, and docblocks, making it useful for documentation generation and runtime tooling that needs structured class information.
Consider it when:
Look elsewhere when:
nikic/php-parser or PHP’s tokenizer/reflection APIs instead.For executives: This is a small, tactical utility that can support internal developer productivity and modular discovery. It is not a customer-facing platform bet. Adoption risk is low if isolated behind an internal adapter, but it should not anchor a major roadmap commitment.
For engineering: The package can quickly enumerate classes and functions defined in a file, which is useful for module scanners, code generators, and simple audits. Integration cost is low, but capability is narrow and adoption is minimal. Wrap it, pin it, test PHP-version compatibility, and be ready to replace it with nikic/php-parser if requirements grow beyond simple file inspection.
How can I help you explore Laravel packages today?