jms/metadata
jms/metadata is a PHP library for managing class, method, and property metadata independent of its source (annotations, YAML/XML/PHP config, etc.). Extend base metadata classes, plug in drivers, and fetch metadata via MetadataFactory.
Adopt when:
Look elsewhere when:
Reflection suffices)Executives: "This MIT-licensed library eliminates $150K+ in dev costs for metadata-heavy features like API serialization or validation. It’s battle-tested by Doctrine/Symfony, reduces technical risk with caching and PHP 8 support, and accelerates time-to-market for enterprise-grade features without licensing fees."
Engineering: "It provides a clean, decoupled abstraction for metadata sources—swap YAML, annotations, or XML without touching business logic. The caching layer (including read-only support) solves real-world performance bottlenecks, and recent updates (PHP 8.1+, PSR-11 container) ensure modern compatibility. Zero vendor lock-in with minimal dependencies."
How can I help you explore Laravel packages today?