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

ActiveLibrary

openclerk/events
================

Simple PHP events

0.2.0(11y ago)041028PHP

Since Dec 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/openclerk/events)[ Packagist](https://packagist.org/packages/openclerk/events)[ RSS](/packages/openclerk-events/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (8)

openclerk/events [![Build Status](https://camo.githubusercontent.com/a6e8bb504c0c48a4acde1ffb92d4214bbf4915990142bdf5cb0d5266dec79ad6/68747470733a2f2f7472617669732d63692e6f72672f6f70656e636c65726b2f6576656e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/openclerk/events)
================================================================================================================================================================================================================================================================================================

[](#openclerkevents-)

A library for registering event handlers and triggering events, live on [CryptFolio](https://cryptfolio.com/api).

Installing
----------

[](#installing)

Include `openclerk/events` as a requirement in your project `composer.json`, and run `composer update` to install it into your project:

```
{
  "require": {
    "openclerk/events": "dev-master"
  }
}
```

Using
-----

[](#using)

Add a handler for an event type:

```
Events::on('my_event', function($data) {
  echo "one = " . $data['one'];
});
```

Trigger an event with custom event data:

```
Events::trigger('my_event', array('one' => 'two'));
```

Unbind handlers as necessary:

```
$handle = Events::on('my_event', array($object, 'callback'));
// ...
Events::unbind($handle);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity54

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 ~105 days

Total

2

Last Release

4065d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ebbec5ccc867054461adebb7c5b6312f8256f989ef96b124892e6e89724afdb?d=identicon)[soundasleep](/maintainers/soundasleep)

---

Top Contributors

[![soundasleep](https://avatars.githubusercontent.com/u/3889656?v=4)](https://github.com/soundasleep "soundasleep (7 commits)")

### Embed Badge

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

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

PHPackages © 2026

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