The Event Package
The Joomla! Event package provides foundations to build event systems and an implementation supporting prioritized listeners.
Requirements
- PHP 7.2 or later
Installation via Composer
Add "joomla/event": "~2.0"
to the require block in your composer.json and then run composer install
.
{
"require": {
"joomla/event": "~2.0"
}
}
Alternatively, you can simply run the following from the command line:
composer require joomla/event "~2.0"
If you want to include the test sources and docs, use
composer require --prefer-source joomla/event "~2.0"