PHP devs are you ready to upgrade your projects to PHP 8.5? 🤔
It's just one month away from release 🥳


Punyapal Shah
@MrPunyapal
Laravel Artisan | Open Source Contributor | Speaker | Core Team @Pinkary 🤌 Creator of @LaravelArtisans 🙌
• • 2K Posts • 18K Views
Laravel devs 👋
Do you know you can use `allowStrayRequests` to permit specific URL patterns while blocking others in testing? 🤔
Check out this info straight from docs! 🤌
#readLaravelDocs
Laravel devs, did you know Cache::get accepts a closure as a fallback? 💡
It runs only if the key is missing
But it does not store the result in cache ❌
Use Cache::remember if you want to store it ✅
Sometimes caching done wia webhook. And there is no way around it so you wanna do fall back logic if it doesn't exists.
It can be logging and returning default value etc.
If you and your team members do the same thing differently, none are wrong.
"Truth depends on your point of view."
And it's not just about doing things differently.