Doctrine Enhanced Events offers enhanced versions of the original Doctrine (lifecycle) events.
Learn more about it in its documentation.
- Access to the original entity in the
pre-updateandpost-updatelifecycle events. - Access to the created, updated (also their original entities) and deleted entities in the
on-flushandpost-flushevents. - Modifying the actual entities (instead of via "change set" array) in the
on-flushevent andpre-updatelifecycle event. - Automatic recomputing of the "change set" after modifying the entities in the
on-flushevent.
Doctrine Enhanced Events is licensed under the MIT License - see the LICENSE file for details.