Laravel: Dispatch a Delayed Queued Job with Retries
Send a queued job in Laravel after a delay, with retries and backoff, so slow work never blocks the request.
Small pieces of working code for the platforms you build on. Copy them, download them, and read the install notes before you paste.
Send a queued job in Laravel after a delay, with retries and backoff, so slow work never blocks the request.
Add one search scope to any Eloquent model and search across several columns with a single method call.
Send WhatsApp messages from Laravel through a provider API — order updates, OTPs and alerts in a few lines.
Generate a sitemap.xml from your database in Laravel — always up to date, no file to maintain by hand.
Protect your Laravel API from abuse with the built-in throttle middleware — limit requests per minute per user or IP.
Check a Sanctum token's abilities in middleware, so only tokens with the right permission can reach a route.
Find slow queries in Laravel without guessing — log every query over 500 ms with its SQL, bindings and time.