PHPackages                             dayspring-tech/propel-eventdispatcher-behavior - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dayspring-tech/propel-eventdispatcher-behavior

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dayspring-tech/propel-eventdispatcher-behavior
==============================================

Integrates the Symfony2 EventDispatcher component in your Model classes.

6.0.0(1y ago)01.5k↓50%1MITPHPPHP &gt;=8.2CI passing

Since Jul 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dayspring-tech/EventDispatcherBehavior)[ Packagist](https://packagist.org/packages/dayspring-tech/propel-eventdispatcher-behavior)[ RSS](/packages/dayspring-tech-propel-eventdispatcher-behavior/feed)WikiDiscussions 6.x Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (14)Used By (1)

EventDispatcherBehavior
=======================

[](#eventdispatcherbehavior)

[![Build Status](https://camo.githubusercontent.com/c7178a57cfe0f22a72893064a8c0b15c1bb42b56d0202cb978ca0d912d64636b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f77696c6c647572616e642f4576656e74446973706174636865724265686176696f722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/willdurand/EventDispatcherBehavior)

Integrate the Symfony2 [EventDispatcher](https://github.com/symfony/EventDispatcher) component in your Model classes.

### Installation

[](#installation)

Requires this behavior in your `composer.json`:

```
{
    "require": {
        "willdurand/propel-eventdispatcher-behavior": "dev-master"
    }
}
```

Add the following line to your `propel.ini` or `build.properties` configuration file:

```
propel.behavior.eventdispatcher.class = vendor.willdurand.propel-eventdispatcher-behavior.src.EventDispatcherBehavior
```

> Note: `vendor.willdurand.propel-eventdispatcher-behavior.src` is the path of the behavior in dot-path notation.

Finally, adds this behavior to your `schema.xml`:

```

```

### ActiveRecord API

[](#activerecord-api)

This behavior adds a single method `getEventDispatcher()`. This method creates an instance of [`EventDispatcher`](https://github.com/symfony/EventDispatcher/blob/master/EventDispatcher.php)per class.

### Running tests

[](#running-tests)

Install dependencies:

```
php composer.phar install --dev

```

Run the test suite:

```
phpunit

```

### License

[](#license)

This behavior is released under the MIT License. See the bundled LICENSE file for details.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance44

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 58.8% 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 ~461 days

Recently: every ~4 days

Total

11

Last Release

435d ago

Major Versions

1.3.0 → 4.x-dev2025-02-14

1.3.1.x-dev → 5.x-dev2025-02-14

5.x-dev → 6.0.02025-03-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/092f64d077ad9ae39939fd3709afc416c4b3164fd23b020cd6ed314bdfe7c0fe?d=identicon)[jwong-dayspring](/maintainers/jwong-dayspring)

![](https://www.gravatar.com/avatar/8be6e72a9f57e5434d88defd3e21d983e01e93b4ca9a29b4d0a9ceb5a6e07532?d=identicon)[bwyu-dayspring](/maintainers/bwyu-dayspring)

---

Top Contributors

[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (20 commits)")[![jwong-dayspring](https://avatars.githubusercontent.com/u/1828203?v=4)](https://github.com/jwong-dayspring "jwong-dayspring (8 commits)")[![simitter](https://avatars.githubusercontent.com/u/340021?v=4)](https://github.com/simitter "simitter (3 commits)")[![bwyu-dayspring](https://avatars.githubusercontent.com/u/4494182?v=4)](https://github.com/bwyu-dayspring "bwyu-dayspring (1 commits)")[![ienzam](https://avatars.githubusercontent.com/u/607461?v=4)](https://github.com/ienzam "ienzam (1 commits)")[![K-Phoen](https://avatars.githubusercontent.com/u/66958?v=4)](https://github.com/K-Phoen "K-Phoen (1 commits)")

---

Tags

eventevent dispatcherBehaviorpropel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dayspring-tech-propel-eventdispatcher-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/dayspring-tech-propel-eventdispatcher-behavior/health.svg)](https://phpackages.com/packages/dayspring-tech-propel-eventdispatcher-behavior)
```

###  Alternatives

[doctrine/event-manager

The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.

6.1k501.1M115](/packages/doctrine-event-manager)[winzou/state-machine

A very lightweight yet powerful PHP state machine

52113.7M18](/packages/winzou-state-machine)

PHPackages © 2026

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