Dmitriy Gnatenko 2e430a556d Vendors updated 3 years ago
..
src 0b8749ecf8 Update vendors 3 years ago
CHANGELOG.md 2e430a556d Vendors updated 3 years ago
COPYRIGHT.md 0b8749ecf8 Update vendors 3 years ago
LICENSE.md 0b8749ecf8 Update vendors 3 years ago
README.md 0b8749ecf8 Update vendors 3 years ago
composer.json 2e430a556d Vendors updated 3 years ago

README.md

laminas-eventmanager

Build Status Coverage Status

laminas-eventmanager is designed for the following use cases:

  • Implementing simple subject/observer patterns.
  • Implementing Aspect-Oriented designs.
  • Implementing event-driven architectures.

The basic architecture allows you to attach and detach listeners to named events, both on a per-instance basis as well as via shared collections; trigger events; and interrupt execution of listeners.

For migration from version 2 to version 3, please read the migration documentation.

Benchmarks

We provide scripts for benchmarking laminas-eventmanager using the PHPBench framework; these can be found in the benchmarks/ directory.

To execute the benchmarks you can run the following command:

$ vendor/bin/phpbench run --report=aggregate