PHPackages                             darkwebdesign/doctrine-enhanced-events - 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. darkwebdesign/doctrine-enhanced-events

ActiveLibrary[Database &amp; ORM](/categories/database)

darkwebdesign/doctrine-enhanced-events
======================================

Doctrine Enhanced Events

v2.11.1(6mo ago)020MITPHPPHP &gt;=7.2CI passing

Since Dec 30Pushed 6mo agoCompare

[ Source](https://github.com/darkwebdesign/doctrine-enhanced-events)[ Packagist](https://packagist.org/packages/darkwebdesign/doctrine-enhanced-events)[ Docs](http://www.darkwebdesign.nl/)[ RSS](/packages/darkwebdesign-doctrine-enhanced-events/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (12)Versions (31)Used By (0)

Doctrine Enhanced Events
========================

[](#doctrine-enhanced-events)

[![Latest Stable Version](https://camo.githubusercontent.com/2bbbcb98e8c5b07880771f36b7a19f999ffbb7b3fb7f1ff832613f3b8aa401f4/68747470733a2f2f706f7365722e707567782e6f72672f6461726b77656264657369676e2f646f637472696e652d656e68616e6365642d6576656e74732f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/darkwebdesign/doctrine-enhanced-events)[![Total Downloads](https://camo.githubusercontent.com/2c70be3bbb017326a6a38da95257679933ff316f6559f3f11d33da2e3211b8f6/68747470733a2f2f706f7365722e707567782e6f72672f6461726b77656264657369676e2f646f637472696e652d656e68616e6365642d6576656e74732f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/darkwebdesign/doctrine-enhanced-events)

[![Build Status](https://github.com/darkwebdesign/doctrine-enhanced-events/actions/workflows/build.yaml/badge.svg?branch=2.11)](https://github.com/darkwebdesign/doctrine-enhanced-events/actions/workflows/build.yaml)[![PHP Version](https://camo.githubusercontent.com/cf90c031d842e823fc81176d2b2813121acccfcd55bf44c0b91eab5ca8a9033c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e322532422d3737374242332e737667)](https://php.net/)[![Doctrine Version](https://camo.githubusercontent.com/f6a56451b8e9ff16aa67eb05e954e79c8b0a59fd96f0d57ea6d50faa9b8b628b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f637472696e652d322e31312d3245364243382e737667)](http://www.doctrine-project.org/)[![License](https://camo.githubusercontent.com/6e608f48b1e6bb482594f9776fc1ec3d46bee82f2bca0332f5b99776c11cf34c/68747470733a2f2f706f7365722e707567782e6f72672f6461726b77656264657369676e2f646f637472696e652d656e68616e6365642d6576656e74732f6c6963656e73653f666f726d61743d666c6174)](https://packagist.org/packages/darkwebdesign/doctrine-enhanced-events)

Doctrine Enhanced Events offers enhanced versions of the original Doctrine (lifecycle) events.

Learn more about it in its [documentation](https://darkwebdesign.github.io/doctrine-enhancement-pack/docs/2.11).

Features
--------

[](#features)

- 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.

License
-------

[](#license)

Doctrine Enhanced Events is licensed under the MIT License - see the `LICENSE` file for details.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance68

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~99 days

Recently: every ~0 days

Total

30

Last Release

186d ago

PHP version history (4 changes)v2.4.0PHP &gt;=5.3.2

v2.5.0PHP &gt;=5.4

v2.6.0PHP ^7.1

v2.8.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/87e5bac63e50ade62a7081144d4cb5d6bbaa2f2a4571e1ccb78ee0e6e7e4a2b5?d=identicon)[raymondschouten](/maintainers/raymondschouten)

---

Top Contributors

[![raymondschouten](https://avatars.githubusercontent.com/u/21282689?v=4)](https://github.com/raymondschouten "raymondschouten (83 commits)")

---

Tags

doctrineeventsphpdoctrineevents

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/darkwebdesign-doctrine-enhanced-events/health.svg)

```
[![Health](https://phpackages.com/badges/darkwebdesign-doctrine-enhanced-events/health.svg)](https://phpackages.com/packages/darkwebdesign-doctrine-enhanced-events)
```

###  Alternatives

[gedmo/doctrine-extensions

Doctrine behavioral extensions

4.1k118.8M366](/packages/gedmo-doctrine-extensions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[knplabs/doctrine-behaviors

Doctrine Behavior Traits

92212.7M64](/packages/knplabs-doctrine-behaviors)[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/packages/doctrine-doctrine-orm-module)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
