aedart / athenaeum-events
Offers a way to register event listeners and subscribers via configuration
10.9.0
2026-06-08 07:22 UTC
Requires
- php: ^8.4
- aedart/athenaeum-support: ^10.9
- illuminate/events: ^v13.14.0
This package is auto-updated.
Last update: 2026-06-08 07:23:41 UTC
README
The Athenaeum Events package offers way to register Event Listeners and Subscribers via configuration.
It serves as an alternative registration method than that provided by Laravel.
Example:
<?php return [ 'listeners' => [ \Acme\Users\Events\UserCreated::class => [ \Acme\Users\Listeners\LogNewUser::class, \Acme\Users\Listeners\SendWelcomeEmail::class, ], 'payments.*' => [ \Acma\Payments\Listeners\VerifyPaymentSession::class ], // ... etc ], 'subscribers' => [ \Acme\Orders\Subscribers\OrderEventsSubscriber::class, \Acme\Users\Subscribers\TrialPeriodSubscriber::class, // ... etc ] ];
Documentation
Please read the official documentation for additional information.
Repository
The mono repository is located at github.com/aedart/athenaeum
Versioning
This package follows Semantic Versioning 2.0.0
License
BSD-3-Clause, Read the LICENSE file included in this package