PHPackages                             bonzer/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bonzer/events

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

bonzer/events
=============

Responsible for implementing Event System in your application

v0.0.1(8y ago)0501MITPHPPHP &gt;=5.4.0

Since Apr 14Pushed 8y agoCompare

[ Source](https://github.com/parasralhan/events)[ Packagist](https://packagist.org/packages/bonzer/events)[ RSS](/packages/bonzer-events/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Events Manager
==============

[](#events-manager)

Responsible for implementing Event System in your application

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

- PHP &gt;= 5.4
- "bonzer/exceptions" : "dev-master"

### Installing

[](#installing)

It can be installed via composer. Run

```
composer require bonzer/events

```

Usage
-----

[](#usage)

```
use Bonzer\Events\Event;
$Event = Event::get_instance();

```

for event firing, use `fire` method as:

```
use Bonzer\Events\Event;
$Event->fire('my_event', []);

```

for listening events firing, use `listen` method as:

```
use Bonzer\Events\Event;
$Event->listen('my_event', function(){
  // Callback that gets called when my_event is fired
});

```

the blueprints of both of these methods can be found at `src/contracts/interfaces/Event.php`

Support
-------

[](#support)

If you are having issues, please let me know.
You can contact me at

License
-------

[](#license)

The project is licensed under the MIT license.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3001d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37013182?v=4)[PARAS RALHAN](/maintainers/parasralhan)[@parasralhan](https://github.com/parasralhan)

---

Top Contributors

[![parasralhan](https://avatars.githubusercontent.com/u/37013182?v=4)](https://github.com/parasralhan "parasralhan (3 commits)")

### Embed Badge

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

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

###  Alternatives

[lara-zeus/bolt

Zeus Bolt is form builder for your users, with so many use cases

24048.6k3](/packages/lara-zeus-bolt)[phpattempt/phpattempt

Helper function to enforce error-first approach in your code

1715.1k](/packages/phpattempt-phpattempt)[thecadien/sulu-news-bundle

Simple News Bundle for Sulu 2 CMS

153.1k](/packages/thecadien-sulu-news-bundle)

PHPackages © 2026

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