PHP Package: contributte/event-dispatcher

Event dispatcher library for PHP applications supporting event handling and propagation.

Current Version: 0.9.1
Last Updated: 2024-02-05
PHP Requirement: >=8.1
Dependencies: None

Package Description

The Event Dispatcher library is a PHP package that facilitates the handling and propagation of events within applications. It provides a flexible and efficient mechanism for decoupling event producers from consumers, aiding in the creation of maintainable and modular codebases.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 0.9.1

Download Download v0.9.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/contributte/event-dispatcher/0.9.1/loader.php';
require_once 'libs/php/{lib_version}/loader.php';

use Contributte\EventDispatcher\EventDispatcher;
use Contributte\EventDispatcher\Event;

$obj = new EventDispatcher();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.