Doctrine Enhancement Pack is a collection of Doctrine enhancements that you can use in your Doctrine projects.
Learn more about it in its documentation.
- Access to the original entity in the
pre-update
andpost-update
lifecycle events. - Access to the created, updated (also their original entities) and deleted entities in the
on-flush
andpost-flush
events. - Modifying the actual entities (instead of via "change set" array) in the
on-flush
event andpre-update
lifecycle event. - Automatic recomputing of the "change set" after modifying the entities in the
on-flush
event.
composer require darkwebdesign/doctrine-enhancement-pack
composer install
Doctrine Enhancement Pack is licensed under the MIT License - see the LICENSE
file for details.