doctrine-extensions
Doctrine Extensions (Gedmo). Use when working with doctrine extensions.
When & Why to Use This Skill
This Claude skill provides expert guidance and implementation patterns for Doctrine Extensions (Gedmo) within PHP applications. It assists developers in integrating powerful behavioral extensions—such as Timestampable, Sluggable, Translatable, and Loggable—into their Doctrine ORM entities, ensuring clean code architecture and optimized database interactions.
Use Cases
- Automating Metadata: Implementing the 'Timestampable' extension to automatically handle creation and update timestamps for database entities.
- SEO-Friendly URL Generation: Configuring the 'Sluggable' extension to automatically generate unique, URL-safe slugs from entity fields like titles or names.
- Audit Logging: Setting up the 'Loggable' extension to track changes, versioning, and history of entity modifications for data auditing.
- Multi-language Support: Implementing the 'Translatable' extension to manage localized content across different languages within a single database structure.
- Tree Structure Management: Utilizing the 'Tree' extension (Nested Set) to manage hierarchical data like categories or organizational charts efficiently.
| name | doctrine-extensions |
|---|---|
| description | Doctrine Extensions (Gedmo). Use when working with doctrine extensions. |
Doctrine Extensions (Gedmo)
This skill provides guidelines and best practices.
See @REFERENCE.md for detailed documentation.