PHPackages                             symnedi/event-dispatcher - 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. symnedi/event-dispatcher

Abandoned → [contributte/event-dispatcher](/?search=contributte%2Fevent-dispatcher)Library[Utility &amp; Helpers](/categories/utility)

symnedi/event-dispatcher
========================

Symfony\\EventDispatcher integration to Nette.

v0.4.0(9y ago)2129.5k↓32.4%11MITPHPPHP &gt;=5.6

Since Jun 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/deprecated-packages/EventDispatcher)[ Packagist](https://packagist.org/packages/symnedi/event-dispatcher)[ RSS](/packages/symnedi-event-dispatcher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (12)Used By (1)

Symnedi/EventDispatcher
=======================

[](#symnedieventdispatcher)

[![Build Status](https://camo.githubusercontent.com/cee80cd4e4f2fa01739b7b4513c3942ba13caa7066397499ef7f9ca2544cd2eb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f53796d6e6564692f4576656e74446973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Symnedi/EventDispatcher)[![Quality Score](https://camo.githubusercontent.com/45131c2dae387797625ae00deaaa57cea6884676a0e5a0b4bfc2ddaf1043ead6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f53796d6e6564692f4576656e74446973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Symnedi/EventDispatcher)[![Code Coverage](https://camo.githubusercontent.com/0cb6af88360924cd0a2861d1f2283d17df9acef1cf339b976d685f583b71f07e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f53796d6e6564692f4576656e74446973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Symnedi/EventDispatcher)[![Downloads](https://camo.githubusercontent.com/260d44e3b90008275b00d9b7a2edbda973c7983bbfbb983cab73b72f7bf34bb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d6e6564692f6576656e742d646973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symnedi/event-dispatcher)[![Latest stable](https://camo.githubusercontent.com/6ad59362e60ba6d49a21596759d4b4c0950048fd3788609c027f28a30a31ef51/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73796d6e6564692f6576656e742d646973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symnedi/event-dispatcher)

Integration of Symfony\\EventDispatcher into Nette\\DI.

Install
-------

[](#install)

```
$ composer require symnedi/event-dispatcher
```

Register the extension in `config.neon`:

```
extensions:
	- Symnedi\EventDispatcher\DI\EventDispatcherExtension
```

Usage
-----

[](#usage)

There are 3 important parts using EventDispatcher:

- Event
- EventSubscriber
- EventDispatcher

*Event* is value object, it simply stores data we use - e.g. user email and password.

*EventSubscriber* listens to certain event and invokes some action, when that happens - when user logs in.

*EventDispatcher* invokes the event in the place where it happens - in the login form just after the login method.

To see the real code in practise, there is [example section](example) with both Event and EventSubscriber.

Also you can find [`AppEvents.php`](example/Event/AppEvents.php) that basically lists all used events. It's not necessary for the starters, just convenient in huge applications.

For more details, check [Symfony documentation](http://symfony.com/doc/current/components/event_dispatcher/introduction.html), or [this very nice presentation](http://www.slideshare.net/DigitalPoetsSociety/symfony2-components-the-event-dispatcher) with real-life examples.

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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 ~42 days

Recently: every ~69 days

Total

11

Last Release

3584d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.5

v0.1.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

![](https://www.gravatar.com/avatar/ac6d98091d07a41ebf65cf8496d73e14297ada4031f998d68a2ab30e6ef8a883?d=identicon)[enumag](/maintainers/enumag)

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (44 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (7 commits)")[![Vrtak-CZ](https://avatars.githubusercontent.com/u/112567?v=4)](https://github.com/Vrtak-CZ "Vrtak-CZ (1 commits)")

---

Tags

eventsymfonynetteevent dispatcher

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/symnedi-event-dispatcher/health.svg)

```
[![Health](https://phpackages.com/badges/symnedi-event-dispatcher/health.svg)](https://phpackages.com/packages/symnedi-event-dispatcher)
```

###  Alternatives

[contributte/event-dispatcher

Best event dispatcher / event manager / event emitter for Nette Framework

292.4M19](/packages/contributte-event-dispatcher)[gomachan46/state-machine

simple state machine with annotations for PHP, inspired by AASM known as a Ruby state machine.

1893.9k](/packages/gomachan46-state-machine)[ipub/gravatar

Gravatar creator for Nette Framework

122.0k1](/packages/ipub-gravatar)

PHPackages © 2026

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