bluetree-service / event
Simple PHP event handling mechanism
0.9.1.0
2022-03-12 12:48 UTC
Requires
- php: >=7.3
- bluetree-service/simple-log: 0.9
- laminas/laminas-config: 3.7.*
- laminas/laminas-json: 3.3.*
- mustangostang/spyc: 0.6.*
Requires (Dev)
- php-coveralls/php-coveralls: ^2.5
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-12-12 19:00:21 UTC
README
Builds
Coverage
Quality
Simple PHP event handling mechanism
Included classes
- BlueEvent\Base\Event - Abstract class to store event statement
- BlueEvent\Base\EventDispatcher - Main event class, allow to manage events and listeners
- BlueEvent\BaseEvent - Simple event object to store event statement
- BlueEvent\Event\Base\Interfaces\EventDispatcherInterface - Use to create different objects that can be used by all libraries required event library
- BlueEvent\Event\Base\Interfaces\EventInterface - Use to create Event objects
Documentation
Basic usage
Event Configuration
Event Object
Store Event statement in Event Object
Event Log
Log each or specified event trigger
Errors
Install via Composer
To use BlueEvent you can just download package and place it in your code. But recommended
way to use BlueEvent is install it via Composer. To include BlueEvent
libraries paste into composer.json
:
{ "require": { "bluetree-service/event": "version_number" } }
Project description
Used conventions
- Namespaces - each library use namespaces (base is BlueEvent)
- PSR-4 - PSR-4 coding standard
- Composer - Composer usage to load/update libraries
Requirements
- PHP 7.3 or higher
Usage
All information in this director
Change log
All release version changes:
Change log
License
This bundle is released under the Apache license.
Apache license