PackageTrack
Sign in Get early access

league/event

Event package

3.0.3 161M downloads/mo #263 most downloaded on Packagist thephpleague/event

What this package is like to depend on

Last release 1 years ago

14 Mar 2025

Release timing varies

gaps range from 2 weeks to 3.5 years

Most releases are documented

notes for 12 of 17 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

17 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

17 releases · Jun 2014 to Mar 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 17
  1. 3.0.3 04 Sep 2024
    Release notes

    Merge pull request #107 from cedric-anne/feature/php-8.4

    Open source →
  2. 3.0.2 29 Oct 2022
    Release notes

    Fixed

    • Reduce complexity of removing one-time listeners (#102)
    Open source →
  3. 3.0.1 28 Oct 2022
    Release notes

    Fixed

    • Ensure one-time-listener is removed from the sorted list of listeners in the prioritized sub-class
    Open source →
  4. 3.0.0 29 Sep 2020
    Release notes
    • PSR-14 is now supported.
    • Classes and interfaces renamed to match PSR terminology.
    Open source →
  5. 2.3.0 14 Mar 2025

    Nothing published for this version

  6. 2.2.0 26 Nov 2018
    Release notes
    • Buffered event emitter was added.
    Open source →
  7. 2.1.2 21 May 2015
    Release notes

    Pre release changelog update

    Open source →
    Release notes

    Fixed

    • Event emitting now respects the order in which the listeners were added in addition to priority.
    Open source →
  8. 2.1.1 30 Mar 2015
    Release notes

    Altered

    • Emitter::emitBatch now uses a foreach instead of array map to allow better exception handling.
    Open source →
  9. 2.1.0 12 Feb 2015
    Release notes

    Pre release changelog update

    Open source →
    Release notes

    Added

    • EmitterAwareInterface: an interface to be EmitterInterface aware.
    • EmitterAwareTrait: a default implementation to EmitterAwareInterface

    Changed

    • EmitterTrait: The EmitterAware interface was extracted from this, which it now uses.
    Open source →
  10. 2.0.0 09 Dec 2014
    Release notes

    Updated changelog prior to the release of version 2.0.0

    Open source →
    Release notes

    Added

    • EventInterface: an interface is derived from the AbstractEvent class to allow more flexible type hinting and custom implementations. All the code expecting an AbstractEvent now expect an EventInterface implementation, however AbstractEvent covers the most use cases.
    • Event::named: named construtor to create string based events
    • CallbackListener::fromCallable: create a callback listener from a callable.
    • ListenerAcceptorInterface: An interface (distilled from the EmitterInterface) to only focus on accepting listeners.
    • ListenerProviderInterface: An interface to focus on providing the Emitter with new listeners.
    • EmitterInterface::useListenerProvider: Allows you to use an implementation of the ListenerProviderInterface to add listeners.
    • EmitterInterface::releaseGeneratedEvents: Eases the way events are released from GeneratorInterface implementations.

    Altered

    • All event typehints have been changed from AbstractEvent to EventInterface

    Removed

    • PriorityEmitter: this functionality is now part of the standard emitter.
    Open source →
  11. 1.0.1 11 Oct 2014

    Nothing published for this version

  12. 1.0.0 09 Sep 2014
    Release notes

    Altered

    • The Emitter now checks if propagation has been stopped before invoking the first listener.
    • Renamed ListenerAbstract to AbstractListener
    Open source →
  13. 0.3.1 06 Sep 2014
    Release notes

    Added

    • Wildcard listeners: When specifying * as the event name to listen to it will listen to all events. Wildcard listeners will be invoked AFTER named event listeners.

    Fixed

    • Various code style fixes.
    • Corrected priority emitter sorting.

    Altered

    • Listener invocation is now responsible for retrieving the events attached to an event name. [internal]
    Open source →
  14. 0.3.0 24 Aug 2014
    Release notes

    Added

    • EmitterInterface: an interface is derived from the Emitter class to allow more flexible type hinting and custom implementations. All the code expecting an Emitter now expect an EmitterInterface implementation.
    Open source →
  15. 0.2.0 08 Jul 2014

    Nothing published for this version

  16. 0.1.1 24 Jun 2014

    Nothing published for this version

  17. 0.1.0 12 Jun 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive