The StofDoctrineExtensionsBundle bundle provides integration for DoctrineExtensions in your Symfony2 Project. The StofDoctrineExtensionBundle is actually just a wrapper around another library called DoctrineExtensions. For the installation of the StofDoctrineExtensionsBundle go here.
DoctrineExtensions contains extensions for Doctrine2 that hook into the facilities of Doctrine and offer new functionality or tools to use Doctrine2 more efficiently.
Timestampable behavior will automate the update of date fields on your Entities or Documents. It works through annotations and can update fields on creation, update, property subset update, or even on specific property value change.