skip to Main Content

How to check why a Laravel job fails?

I have the following Job: <?php namespace AppJobs; use GuzzleHttpClient; use IlluminateBusQueueable; use IlluminateContractsQueueShouldQueue; use IlluminateFoundationBusDispatchable; use IlluminateQueueInteractsWithQueue; use IlluminateQueueSerializesModels; use IlluminateSupportFacadesDB; class SendSMSJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; private $mobile; private $code; private $temp; private $token2;…

VIEW QUESTION

Laravel – Disable View Composer for Blade TestView?

The client wants the layouts.sidebar.blade.php to have a link for users with a certain role. The AppServiceProvider boots a NotificationComposer for all (*) views. The NotificationComposer has the following code $view->with('unreadNotificationCount', count(request()->user()->unreadNotifications)); I want to write a test like the…

VIEW QUESTION
Back To Top
Search