Laravel Event Handler Not Firing: Debugging the Dispatcher Mystery

Laravel Questions editorial team
Editorial team · 6 August 2026

You dispatch an event but the handler never runs. Note for readers of older answers: Laravel 5.x used Event::fire(...). That method is gone from current Laravel (it does not exist on the 10.x facade). Use event(...) or Event::dispatch(...) instead.

Register and dispatch

// app/Providers/AppServiceProvider.php, in boot()
use App\Events\KitchenStored;
use App\Listeners\AttachCurrentUserToKitchen;
use Illuminate\Support\Facades\Event;

Event::listen(KitchenStored::class, AttachCurrentUserToKitchen::class);
class KitchenStored
{
    use Dispatchable;

    public function __construct(public string $kitchenName) {}
}

class AttachCurrentUserToKitchen
{
    public function handle(KitchenStored $event): void
    {
        // ...
    }
}

Dispatch it with any of these:

event(new KitchenStored('Main kitchen'));
KitchenStored::dispatch('Main kitchen');
Event::dispatch(new KitchenStored('Main kitchen'));

Why it does not fire

  1. The class string does not match. Event::listen('App\Events\KitchenStored', ...) with a typo or wrong namespace fails silently. Use KitchenStored::class so a typo is an error. Event::hasListeners(KitchenStored::class) tells you whether anything is registered.
  2. The listener is queued. A listener that implements ShouldQueue is pushed to the queue and runs only when a worker is running. With QUEUE_CONNECTION=sync it runs inline.
  3. Cached events. If you ran php artisan event:cache, run php artisan event:clear after changing listeners.

Tested on Laravel 10.x (PHP 8.1) and 12.x (PHP 8.3): the tests cover the sync listener, event() against Event::dispatch(), a mismatched class string never firing, and a queued listener being pushed instead of run. Source: tests/laravel-verification/files/q4006.

Our network