zendframework/zend-eventmanager

This package is abandoned and no longer maintained. The author suggests using the laminas/laminas-eventmanager package instead.

Trigger and listen to events within a PHP application

Maintainers

👁 zendframework

Package info

github.com/zendframework/zend-eventmanager

pkg:composer/zendframework/zend-eventmanager

Statistics

Installs: 87 425 381

Dependents: 349

Suggesters: 16

Stars: 1 656

Open Issues: 9

3.2.1 2018-04-25 15:33 UTC

Requires

  • php: ^5.6 || ^7.0

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause a5e2583a211f73604691586b8406ff7296a946dd

eventmanagereventzf2events


README

Repository abandoned 2019-12-31

This repository has moved to laminas/laminas-eventmanager.

👁 Build Status
👁 Coverage Status

zend-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 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