PHPackages                             buzzingpixel/corbomite-events - 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. buzzingpixel/corbomite-events

AbandonedArchivedLibrary

buzzingpixel/corbomite-events
=============================

Corbomite Events

2.1.0(7y ago)06521Apache-2.0PHPPHP &gt;=7.2

Since Jan 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/buzzingpixel/corbomite-events)[ Packagist](https://packagist.org/packages/buzzingpixel/corbomite-events)[ RSS](/packages/buzzingpixel-corbomite-events/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (11)Versions (6)Used By (1)

Corbomite Events
================

[](#corbomite-events)

[![](https://camo.githubusercontent.com/2b2dd06f6637b34e7b12e138328b4190d67698cf6e13ec7ee49428a0cb4a45c5/68747470733a2f2f7472617669732d63692e6f72672f62757a7a696e67706978656c2f636f72626f6d6974652d6576656e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/buzzingpixel/corbomite-events)

Part of BuzzingPixel's Corbomite project.

Provides event registration and dispatching.

Usage
-----

[](#usage)

Listening for events
--------------------

[](#listening-for-events)

When the dispatcher is called, it first fires up a collector service which will load up any events. You can register events in your app or from any composer package by setting a key in the composer.json `extra` object of `eventCollectorConfigFilePath`. That should be a path to a PHP file which will be called. The called PHP file will have a variable available called `$eventListenerRegistration`. That's an instance of `\corbomite\events\interfaces\EventListenerRegistrationInterface` which will allow you to register events.

Listeners must implement the interface `\corbomite\events\interfaces\EventListenerInterface`.

Dispatching events
------------------

[](#dispatching-events)

To dispatch an event, get `\corbomite\events\EventDispatcher` from the DI and call the `dispatch` sending it an instance of the event class you wish to dispatch. That event class instance must implement `\corbomite\events\interfaces\EventInterface`.

License
-------

[](#license)

Copyright 2019 BuzzingPixel, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at .

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~26 days

Total

4

Last Release

2590d ago

Major Versions

1.0.1 → 2.0.02019-02-25

PHP version history (2 changes)1.0.0PHP &gt;=7.1

2.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3749c595e494c26b1d9772c64f126c2f64f0d5057736dc5986d2f305432896ba?d=identicon)[buzzingpixel](/maintainers/buzzingpixel)

---

Top Contributors

[![tjdraper](https://avatars.githubusercontent.com/u/3803475?v=4)](https://github.com/tjdraper "tjdraper (18 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/buzzingpixel-corbomite-events/health.svg)

```
[![Health](https://phpackages.com/badges/buzzingpixel-corbomite-events/health.svg)](https://phpackages.com/packages/buzzingpixel-corbomite-events)
```

PHPackages © 2026

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