PHPackages                             andreas-glaser/dc-event-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. andreas-glaser/dc-event-bundle

AbandonedArchivedSymfony-bundle[Database &amp; ORM](/categories/database)

andreas-glaser/dc-event-bundle
==============================

Doctrine Custom Event Bundle - This bundle attaches an event handler during preFlush, allowing you to persist, update and remove entities while having access to change sets.

1.2.0(7y ago)1943MITPHPPHP ^7.2

Since Oct 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/andreas-glaser/dc-event-bundle)[ Packagist](https://packagist.org/packages/andreas-glaser/dc-event-bundle)[ Docs](https://github.com/andreas-glaser/dc-event-bundle)[ RSS](/packages/andreas-glaser-dc-event-bundle/feed)WikiDiscussions 1.2 Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (19)Used By (0)

DCEventBundle - Doctrine Custom Event Bundle
============================================

[](#dceventbundle---doctrine-custom-event-bundle)

This bundle attaches an event handler during preFlush, allowing you to persist, update and remove entities while having access to change sets.

Installation
------------

[](#installation)

```
composer require andreas-glaser/dc-event-bundle ^1
```

Usage
-----

[](#usage)

### 1.) Attach entity event listener

[](#1-attach-entity-event-listener)

```
