zend-eventmanager is designed for the following use cases:
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.
We provide scripts for benchmarking zend-eventmanager using the
Athletic framework; these can be
found in the benchmarks/
directory.
To execute the benchmarks you can run the following command:
$ vendor/bin/athletic -p benchmarks