Laravel tip.
You have SQL export from the DB, and want to turn into Laravel seeders?
Instead of manually converting SQL insert statements into Laravel seeders, you can execute raw SQL files directly using `DB::unprepared()` in your seeder class.
Laravel tip.
Make your API return JSON for ALL exceptions.
By default Laravel renders HTML error pages even for API routes if the client forgot the `Accept: application/json` header.
Fix it once in bootstrap/app.php.
TallCraftUI is a Laravel Blade UI library built on the TALL stack by @DeveloperMithu 📦️ It provides a collection of customizable pre-built components! - https://t.co/JyRsLE2QpN
Laravel devs, one of my followers asked me: “Where can I see all available PHP attributes in Laravel?”
I thought about it for a bit… couldn’t find a clear answer.
So I created a repo that lists all PHP attributes used in the Laravel framework.
Link in comments 👇
We spent the last several months prepping this Laracasts series - and it's out now!
3 hours of AI techniques, tips, and demystifications for working developers.
And I'm so happy to say that it's completely, entirely, unconditionally FREE to watch.
https://t.co/aM66km0a1G
TallCraftUI is a Laravel Blade UI library built on the TALL stack by @DeveloperMithu 📦️ It provides a collection of customizable pre-built components! - https://t.co/JyRsLE2QpN