phly/phly-event-dispatcher
Experimental event dispatcher for PSR-14
1.5.0
371K downloads/mo
#4178 most downloaded on Packagist
phly/phly-event-dispatcher
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 months to 2.6 years
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
12 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
12 releases · Aug 2018 to Nov 2024Releases
latest 12-
1.5.025 Nov 2024 -
1.4.030 Jan 2024Release notes
Open source →Added
- Adds support for PHP 8.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Removes support for PHP 8.0.
Fixed
- Nothing.
-
1.3.110 Jan 2023Release notes
Open source →Fixed
- The features for the 1.3.0 release evidently were merged to the wrong release branch. This release contains the updates intended for 1.3.0.
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- The features for the 1.3.0 release evidently were merged to the wrong release branch. This release contains the updates intended for 1.3.0.
-
1.3.010 Jan 2023Release notes
Open source →Added
-
Adds support for psr/container 2.0.
-
Adds support for PHP 8.2.
Changed
- Renames the extra.zf key in the composer.json to extra.laminas.
Deprecated
- Nothing.
Removed
- Removes support for PHP 7.4.
Fixed
- Nothing.
Release notes
Open source →Added
-
Adds support for psr/container 2.0.
-
Adds support for PHP 8.2.
Changed
- Renames the extra.zf key in the composer.json to extra.laminas.
Deprecated
- Nothing.
Removed
- Removes support for PHP 7.4.
Fixed
- Nothing.
-
-
1.2.031 Jan 2022 -
1.1.015 Nov 2021Release notes
Open source →Added
-
This version adds support for PHP 8.0 and 8.1.
-
#4 adds the ability to supply a list of providers to the constructor of the ``ListenerProviderAggregate`.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- This release removes support for PHP versions prior to 7.3.
Fixed
- Nothing.
Release notes
Open source →Added
-
This version adds support for PHP 8.0 and 8.1.
-
#4 adds the ability to supply a list of providers to the constructor of the ``ListenerProviderAggregate`.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- This release removes support for PHP versions prior to 7.3.
Fixed
- Nothing.
-
-
1.0.115 Nov 2021Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #3 fixes an undeclared variable in the
PrioritizedListenerProviderwhich would cause problems when attaching multiple listeners with the same priority.
Release notes
Open source →Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #3 fixes an undeclared variable in the
PrioritizedListenerProviderwhich would cause problems when attaching multiple listeners with the same priority.
-
1.0.025 Mar 2019Release notes
Open source →Added
- Nothing.
Changed
-
#1 updates the psr/event-dispatcher dependency to
^1.0. -
#1 updates the fig/event-dispatcher-util dependency to
^1.0.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- Nothing.
Changed
-
#1 updates the psr/event-dispatcher dependency to
^1.0. -
#1 updates the fig/event-dispatcher-util dependency to
^1.0.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
0.3.014 Jan 2019Release notes
Open source →Added
- Nothing.
Changed
- Moves
EventDispatcherFactoryto the source root, instead of under its
ListenerProvidersubdirectory, ensuring it can be used.
Deprecated
- Nothing.
Removed
- Removes the ListenerShouldQueue interface. Queueing is always based on the
combination of the queue/task runner in use by the application, and the
listener provider to which the listener attaches. As such, no interface is
needed.
Fixed
-
Fixes a typo in
LazyListener::getListener()where the method was using an
undeclared variable, instead of an instance property. -
Fixes an
instanceofcheck inErrorEmittingDispatcher::handleCaughtThrowable(),
preventing an infinite recursion condition. -
Fixes a typo in the
ErrorEventconstructor during an assigment. -
Fixes a typo of a function name in
ReflectionBasedListenerProvider::getProvider(). -
Fixes two errors in
ListenerProviderAggregate::getListenersForEvent()that
prevented it from working at all.
Release notes
Open source →Added
- Nothing.
Changed
- Moves
EventDispatcherFactoryto the source root, instead of under itsListenerProvidersubdirectory, ensuring it can be used.
Deprecated
- Nothing.
Removed
- Removes the ListenerShouldQueue interface. Queueing is always based on the combination of the queue/task runner in use by the application, and the listener provider to which the listener attaches. As such, no interface is needed.
Fixed
-
Fixes a typo in
LazyListener::getListener()where the method was using an undeclared variable, instead of an instance property. -
Fixes an
instanceofcheck inErrorEmittingDispatcher::handleCaughtThrowable(), preventing an infinite recursion condition. -
Fixes a typo in the
ErrorEventconstructor during an assigment. -
Fixes a typo of a function name in
ReflectionBasedListenerProvider::getProvider(). -
Fixes two errors in
ListenerProviderAggregate::getListenersForEvent()that prevented it from working at all.
-
0.2.110 Jan 2019Release notes
Open source →Added
-
Adds documentation of all capabilities.
-
Adds
EventDispatcherFactory, which also requires the second$serviceName
argument during invocation. The argument is assumed to be the class name of an
EventDispatcherInterfaceimplementation, and this class is instantiated
using the value of theListenerProviderInterfaceservice. -
Adds
ListenerShouldQueue, a marker interface indicating that the listener
can be safely deferred for asynchronous invocation.
Changed
- Registers all listener providers and all event dispatchers as container services.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
-
Adds documentation of all capabilities.
-
Adds
EventDispatcherFactory, which also requires the second$serviceNameargument during invocation. The argument is assumed to be the class name of anEventDispatcherInterfaceimplementation, and this class is instantiated using the value of theListenerProviderInterfaceservice. -
Adds
ListenerShouldQueue, a marker interface indicating that the listener can be safely deferred for asynchronous invocation.
Changed
- Registers all listener providers and all event dispatchers as container services.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
-
-
0.2.009 Jan 2019Release notes
Open source →Added
- Adds support for the 0.7.0 version of the PSR-14 specification.
Changed
-
ErrorTaskProcessorwas renamed toErrorEmittingDispatcher. -
TaskProcessorwas renamed toEventDispatcher. -
The various
ListenerProviderInterfaceimplementations were updated to useobjecttypehints, instead ofEventInterface(as the latter is no longer part of the spec).
Deprecated
- Nothing.
Removed
-
Notifierwas removed, as it is no longer part of the specification. -
StoppableTaskTraitwas removed, as it is now part of fig/event-dispatcher-util.
Fixed
- Nothing.
-
0.1.015 Aug 2018Release notes
Open source →Added
- Adds support for the 0.3.0 version of the PSR-14 specification.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.