nopoco/laminas-eventmanager

Trigger and listen to events within a PHP application

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/nopoco/laminas-eventmanager

v3.10.0 2023-05-02 10:47 UTC

This package is auto-updated.

Last update: 2025-09-29 03:14:03 UTC


README

Removed political appeal incompatible with free software here. The original repository is at this link.

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