Hello @singleseeker tinker is a special case :)
From the docs https://laravel.com/docs/11.x/artisan#usage
The dispatch helper function and dispatch method on the Dispatchable class depends on garbage collection to place the job on the queue. Therefore, when using tinker, you should use Bus::dispatch or Queue::push to dispatch jobs.
You can test it by writing a temporary route where you place the dispatch call to see your logs.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community