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

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

zorachka/event-dispatcher
=========================

Event Dispatcher

v3.2.0(2y ago)1737MITPHPPHP ^8.1

Since Jul 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/zorachka/event-dispatcher)[ Packagist](https://packagist.org/packages/zorachka/event-dispatcher)[ Docs](https://github.com/zorachka/event-dispatcher)[ RSS](/packages/zorachka-event-dispatcher/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/86768962) ](https://github.com/zorachka)

Zorachka Event Dispatcher
=========================

[](#zorachka-event-dispatcher)

[![Latest Version on Packagist](https://camo.githubusercontent.com/665091c08212174fd4d1c2e545ce9f7068a926f2f5ab2cfbac6045b64acd7dde/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f726163686b612f6576656e742d646973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zorachka/event-dispatcher)[![GitHub Workflow Status](https://camo.githubusercontent.com/66cde4102eac0afbf1bfcc6c4357f1b8fa2c1d2d8b711ce278a21de62ccd6853/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7a6f726163686b612f6576656e742d646973706174636865722f74657374733f6c6162656c3d7465737473)](https://github.com/zorachka/event-dispatcher/actions/workflows/test.yml)[![Analysis](https://github.com/zorachka/event-dispatcher/actions/workflows/analyse.yml/badge.svg?branch=main)](https://github.com/zorachka/container/actions/workflows/analyse.yml)[![Total Downloads](https://camo.githubusercontent.com/54cd70e8512bce1b70c516d57f32fdd83bed5a9297bf50c3b73f06ac486ecd0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f726163686b612f6576656e742d646973706174636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zorachka/event-dispatcher)

---

This is PSR-14 Event Dispatcher pretty simple implementation and framework-agnostic solution.

Why another one?
----------------

[](#why-another-one)

Because:

- you want to follow standard and don't worry about implementation. You can change this provider to another one anytime;
- you don't need complicated and overhead solution;
- you want easy configure and use event dispatcher.

Requirements
------------

[](#requirements)

- The minimum PHP version is 8.0.

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

[](#installation)

You can install the package via composer:

```
composer require zorachka/event-dispatcher
```

Usage
-----

[](#usage)

For standalone usage example below. In your entity you need to register event:

```
