chajr/class-event

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple PHP event handling mechanism

0.9.1.0 2022-03-12 12:48 UTC

README

Latest Stable Version Total Downloads License Dependency Status Documentation Status

Builds
Travis Scrutinizer
Build Status Build Status
Coverage
Coveralls Scrutinizer
Coverage Status Code Coverage
Quality
Code Climate Scrutinizer SymfonyInsight
Code Climate Scrutinizer Code Quality SymfonyInsight
Code Intelligence Status

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

Basic usage

Event Configuration

Load Event Configuration

Event Object

Store Event statement in Event Object

Event Log

Log each or specified event trigger

Errors

Event listeners 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

Travis Information

Travis CI Build Info