sigmaphp / sigmaphp-events
Event-Dispatcher lightweight library
dev-master
2026-12-03 10:14 UTC
Requires
- php: >=8.0
- psr/event-dispatcher: ^1.0
Requires (Dev)
- agashe/var-dumper: ^0.1.5
- phpunit/phpunit: ^9.0 || ^10.0 || ^11.0
Suggests
None
Provides
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-03 10:17:14 UTC
README
A lightweight PHP library providing implementations of the PSR-14 Event Dispatcher standard. Designed to offer a simple, flexible, and extensible approach to event dispatching in PHP applications.
Fully focused on interoperability, clean architecture, and seamless integration with existing PHP ecosystems.
Features
- PSR-14 Compliance: Implements the PHP-FIG PSR-14 Event Dispatcher standard.
- Event Dispatching: Dispatch events to their registered listeners.
- Listener Management: Register and manage event listeners.
- Flexible Registration: Supports multiple listeners per event.
- Event Priorities: Control listener execution order (if supported by the implementation).
- Type Safety: Leverages PHP's type system for reliable event handling.
- Interface-Based Design: Promotes loose coupling through standardized interfaces.
- Extensibility: Allows custom dispatcher and listener implementations.
- Lightweight: Minimal overhead and dependencies.
- Framework Agnostic: Works with any PHP application or framework.
- Easy Integration: Simple API for integrating event-driven functionality.
- Modern PHP: Built with modern PHP standards and practices.
Installation
composer require sigmaphp/sigmaphp-events
Documentation
Coming soon!
License
(SigmaPHP-Events) released under the terms of the MIT license.