Doctrine behaviours (sluggable, timestampable, tree, translatable...) in Symfony
open sourceMITfree
StofDoctrineExtensionsBundle integrates the DoctrineExtensions library (gedmo/doctrine-extensions) into Symfony, so its Doctrine behaviours are configured through the bundle: tree handling (closure table, nested set or materialized path), translatable records, sluggable fields, timestampable and blameable fields, loggable change history, sortable entities, soft deletes, uploadable file fields and reference integrity.
Problems it solves
- generate slugs and created/updated timestamps on my Doctrine entities in Symfony
- store a tree of categories with nested sets in Doctrine without writing the logic
- soft-delete and keep a change history of Doctrine entities in a Symfony app
Features
- Tree (closure table, nested set, materialized path)
- Translatable and Translator
- Sluggable
- Timestampable and Blameable
- Loggable history and versions
- Sortable
- Softdeleteable
- Uploadable file fields
- Reference Integrity
Alternatives
The same job
These do what StofDoctrineExtensionsBundle does.
- DoctrineExtensions Behavioural extensions for Doctrine ORM and MongoDB ODM
- Doctrine ORM Object-relational mapper for PHP
