You are browsing the documentation for Symfony 2.4 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.3.
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.