PHPackages                             widoz/event-listeners-collection - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. widoz/event-listeners-collection

AbandonedArchivedLibrary[PSR &amp; Standards](/categories/psr-standards)

widoz/event-listeners-collection
================================

A collection of event listeners wrapper, allowing to decouple constraints and preconditions from the listener logic.

0.2.0(6y ago)03MITPHPPHP &gt;=7.1.33

Since Jan 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/widoz/event-listeners-collection)[ Packagist](https://packagist.org/packages/widoz/event-listeners-collection)[ Docs](https://github.com/widoz/event-listeners-collection)[ RSS](/packages/widoz-event-listeners-collection/feed)WikiDiscussions develop Synced today

READMEChangelog (2)Dependencies (7)Versions (4)Used By (0)

[![Travis CI](https://camo.githubusercontent.com/69e486bc1f88ff7fb8c1a649a5da335c92b3d0aaa1e1d1aba636b807d9789e29/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7769646f7a2f6576656e742d6c697374656e6572732d636f6c6c656374696f6e2e737667)](https://travis-ci.org/widoz/event-listeners-collection)[![Codecov](https://camo.githubusercontent.com/30a7fa7d85c13bea767e6f82a32e1cf5f77c5b0b71aeb87be669970f5fce36b3/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f7769646f7a2f6576656e742d6c697374656e6572732d636f6c6c656374696f6e2e737667)](https://codecov.io/gh/widoz/event-listeners-collection)[![Packagist](https://camo.githubusercontent.com/3f2d53a901610d3aadacf2a9b188d986a38ee9d87751d604f6dcfe2d5b83bb00/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7769646f7a2f6576656e742d6c697374656e6572732d636f6c6c656374696f6e2e737667)](https://packagist.org/packages/widoz/event-listeners-collection)[![PHP from Packagist](https://camo.githubusercontent.com/ecbdaff56125a8910dc2a51118b6a0d4a726d362ab51f9fec5f86ea39b51193f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7769646f7a2f6576656e742d6c697374656e6572732d636f6c6c656374696f6e2e737667)](https://packagist.org/packages/widoz/event-listeners-collection)

Event Listeners Collection
==========================

[](#event-listeners-collection)

A collection of event listeners wrapper, allowing to decouple constraints and preconditions from the listener logic.

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

[](#requirements)

PHP &gt;=7.1

Listeners Included
------------------

[](#listeners-included)

### Autoremovable Listeners

[](#autoremovable-listeners)

**NTimesListener**

Execute a listener N times, remove it after.

**SingleListener**

Execute a listener once.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.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 ~6 days

Total

2

Last Release

2350d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d39b8d5cede59a2123551e756824be76d75405fab12f4e553be05328e9b1341?d=identicon)[guido](/maintainers/guido)

---

Top Contributors

[![widoz](https://avatars.githubusercontent.com/u/1917784?v=4)](https://github.com/widoz "widoz (45 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

event-dispatchereventslistenerspsrpsr-14psreventsevent dispatcherevent listener

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/widoz-event-listeners-collection/health.svg)

```
[![Health](https://phpackages.com/badges/widoz-event-listeners-collection/health.svg)](https://phpackages.com/packages/widoz-event-listeners-collection)
```

###  Alternatives

[psr/container

Common Container Interface (PHP FIG PSR-11)

10.0k1.1B4.7k](/packages/psr-container)[psr/clock

Common interface for reading the clock.

646378.5M523](/packages/psr-clock)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M125](/packages/mezzio-mezzio)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.7k](/packages/ahmed-bhs-doctrine-doctor)[lctrs/psalm-psr-container-plugin

Let Psalm understand better psr11 containers

17679.3k13](/packages/lctrs-psalm-psr-container-plugin)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17534.2k7](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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