PHPackages                             willdurand/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. willdurand/propel-eventdispatcher-behavior

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

willdurand/propel-eventdispatcher-behavior
==========================================

Integrates the Symfony2 EventDispatcher component in your Model classes.

1.3.0(12y ago)1931.4k↓19.4%141MITPHP

Since Jul 20Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (7)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

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~116 days

Recently: every ~93 days

Total

6

Last Release

4459d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1620075?v=4)[François Ganachaud](/maintainers/couac)[@couac](https://github.com/couac)

---

Top Contributors

[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (20 commits)")[![simitter](https://avatars.githubusercontent.com/u/340021?v=4)](https://github.com/simitter "simitter (3 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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/willdurand-propel-eventdispatcher-behavior/health.svg)](https://phpackages.com/packages/willdurand-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)
