Registry / web-framework / contao-community-alliance-event-dispatcher

contao-community-alliance-event-dispatcher

JSON →
library2.1.1phppackagistunverified

Event dispatcher service for Contao Open Source CMS, providing event-driven architecture support.

composer require contao-community-alliance/event-dispatcher
INSTALL
IMPORT
SIG · CONTAO-COMMUNITY-A
C
contao-community-alliance-event-dispatcher
web-frameworkphpv2.1.1
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.

EventDispatcher
use ContaoCommunityAlliance\EventDispatcher\EventDispatcher;

Create an event dispatcher and trigger an event.

use ContaoCommunityAlliance\EventDispatcher\EventDispatcher; $dispatcher = new EventDispatcher(); $dispatcher->addListener('event.name', function () { echo 'Event triggered!'; }); $dispatcher->dispatch('event.name');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
contao-community-alliance-event-dispatcher — pip install contao-community-alliance-event-dispatcher · libregistry