MENU

Fun & Interesting

Let's talk about Events and Listeners

Laravel 9,319 6 months ago
Video Not Working? Fix It Now

What happens when you start to have multiple actions with a single job or class? How can we separate that logic or concerns so things don't get discombobulated? Events serve as a great way to decouple various aspects of your application, since a single event can have multiple listeners that do not depend on each other. Let's learn together. Docs: https://laravel.com/docs/11.x/events

Comment