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

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

neovav/events
=============

A PHP lib with notifier for events

01PHP

Since Aug 18Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Events libs
===========

[](#events-libs)

This is sample how use Events libs with Notifier

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

[](#getting-started)

### Installation

[](#installation)

For installations neovav/Events, run:

```
git clone https://github.com/neovav/Events
cd Events
composer install
```

### Usage

[](#usage)

```
use \neovav\Events\Subscriber;
use \neovav\Events\Notifier;
use \neovav\Events\INotice;
use \neovav\Events\Notice;
use \neovav\Events\IEventData;

require_once '..'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';

$func = function (INotice $notice) {
    echo "\r\n", 'DEBUG          => ', $notice->getEventName();
    if ($notice->isEventData()) var_dump($notice->getEventData());
};

try {
    $subscr_dbg = new Subscriber('DEBUG@Start', $func);
    Notifier::attach($subscr_dbg);
} catch(Exception $e) {var_dump($e);};

$notice_dbg = new Notice(__FILE__,'DEBUG@Start');

Notifier::notify($notice_dbg);

Notifier::detach($subscr_dbg);
```

For more samples view in directory : samples Main file in samples: samples/sample.php

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e37a8bcf21dd74f3efc89e0be4279efeef2402ac5f4b52daa40fe74e545c5bc1?d=identicon)[neovav](/maintainers/neovav)

---

Top Contributors

[![neovav](https://avatars.githubusercontent.com/u/18636060?v=4)](https://github.com/neovav "neovav (12 commits)")

### Embed Badge

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

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

###  Alternatives

[yiidoc/yii2-timeago

Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps. Forked from @rmm5t for Yii2 framework.

12103.3k5](/packages/yiidoc-yii2-timeago)

PHPackages © 2026

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