PHP Package: laminas/laminas-eventmanager

Laminas EventManager is a PHP library for managing events and listeners efficiently in applications.

Current Version: 3.14.0
Last Updated: 2024-11-21
PHP Requirement: >=7.1
Dependencies: laminas/laminas-stdlib, phpunit/phpunit
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas EventManager is a powerful tool for implementing event-driven architectures in PHP projects. It allows you to decouple components, improve code reusability, and enhance maintainability by providing a flexible event system. With Laminas EventManager, you can easily trigger and handle events, attach multiple listeners, and control event propagation.

🔗 View on GitHub

Download Latest Version: 3.14.0

Download Download v3.14.0

Code Integration Example

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

<?php

// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-eventmanager/3.14.0/autoload.php';

use Laminas\EventManager\EventManager;
use Laminas\EventManager\Event;
use Laminas\EventManager\ListenerAggregateInterface;
use Laminas\Stdlib\PriorityQueue;
use PHPUnit\Framework\TestCase;


$obj = new Laminas\EventManager\EventManager();
echo "✅ Example created successfully.";

?>

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