darkwebdesign/doctrine-enhancement-pack

Doctrine Enhancement Pack

v2.7.2 2023-11-08 10:32 UTC

This package is auto-updated.

Last update: 2024-03-08 18:41:07 UTC


README

Latest Stable Version Total Downloads License

Build Status Coverage Status PHP Version Doctrine Version

Doctrine Enhancement Pack is a collection of Doctrine enhancements that you can use in your Doctrine projects.

Learn more about it in its documentation.

Features

Event enhancements

  • Access to the original entity in the pre-update and post-update lifecycle events.
  • Access to the created, updated (also their original entities) and deleted entities in the on-flush and post-flush events.
  • Modifying the actual entities (instead of via "change set" array) in the on-flush event and pre-update lifecycle event.
  • Automatic recomputing of the "change set" after modifying the entities in the on-flush event.

Installing via Composer

composer require darkwebdesign/doctrine-enhancement-pack
composer install

License

Doctrine Enhancement Pack is licensed under the MIT License - see the LICENSE file for details.