In my Laravel projects, I frequently clone the production database for use in staging or local environments. To avoid accidentally sending emails to real users during testing, I add this handy redirect in the AppServiceProvider's boot method.
#laravel#laraveltipsandtricks#php
Laravel has opinions. Where do controllers go? We know. How do you queue a job? We know. How do you send an email? We know. 🧠
AI agents thrive on this. They stop guessing and start shipping code that actually looks like a human wrote it.
I think the Laravel error page should get a boost as well.
I just submitted a PR that adds a "Copy as Markdown" button to the default Laravel error view and I think this is pretty awesome 🔥
We've been really busy! 💪🏼
NativePHP for Mobile now supports:
- 📍 Geolocation
- 💦 Custom Splash Screens
- 🔐 Secure Storage
- 🎞️ Media Library Access
And lots more
v1.1 is 🔥
Go check out all the details:
https://t.co/HWZ51S92AR
TIL you can use "deleteFileAfterSend" when using a Laravel download response.
This is going to unlink the filter after the response was sent to the user. 🧼
We just shipped big improvements to Laravel Echo. 📡
First, the install:broadcasting experience is improved. We now prompt you for the relevant credentials, write the corresponding .env variables, and more.
Laravel tip.
Making multiple API calls? Don't wait for each one sequentially!
Use `Http::pool()` to send requests concurrently and boost performance by executing them all at the same time.
Link to the docs: https://t.co/T4Y72wpUts
#practicalLaravelDocs