Registry / utility / hoa-event

hoa-event

JSON →
library2.17.08.30phppackagistunverified

The Hoa\Event library provides an event system for PHP.

composer require hoa/event
INSTALL
IMPORT
SIG · HOA-EVENT
H
hoa-event
utilityphpv2.17.08.30
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Event
use Hoa\Event\Event;

Create and trigger an event

use Hoa\Event\Event; $event = new Event('my.event'); $event->attach(function () { echo 'Event triggered!'; }); $event->notify();
Debug
Known issues
gotchaLibrary is part of the Hoa project which is no longer actively maintained
fix
Consider using a more modern event library like Symfony EventDispatcher
affects: *
Upgrade
Version history
2.17.08.30latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hoa-event — pip install hoa-event · libregistry