How to use Doctrine Extensions: Timestampable, Sluggable, Translatable, etc.
How to use Doctrine Extensions: Timestampable, Sluggable, Translatable, etc.¶
Doctrine2 is very flexible, and the community has already created a series of useful Doctrine extensions to help you with common entity-related tasks.
The usage for each of these extensions is explained in that repository.
However, to install/activate each extension you must register and activate an Event Listener. To do this, you have two options:
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.