Registry / utility / illuminate-events

illuminate-events

JSON →
library12.51.0phppackagistunverified

The Illuminate Events package.

composer require illuminate/events
INSTALL
IMPORT
SIG · ILLUMINATE-EVENTS
I
illuminate-events
utilityphpv12.51.0
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.

Dispatcher
use Illuminate\Events\Dispatcher;

Create an event dispatcher, register a listener, and dispatch an event.

use Illuminate\Events\Dispatcher; $events = new Dispatcher(); $events->listen('user.login', function ($user) { echo "User {$user} logged in."; }); $events->dispatch('user.login', ['John']);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
12.51.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
illuminate-events — pip install illuminate-events · libregistry