I made a custom GPT to help me generate migration fields for my #laravel models. Now I only have to specify the `$fillable` array and it generates the migration for me 🤘🚀
https://t.co/MdRcx1Mt0x
@AshAllenDesign@MrPunyapal@pestphp Thanks for showing the full code 👍 I was about to ask about Traits because that’s something I have in almost all my projects
#Laravel's implicit route binding isn't just for database models. Learn how to apply it to custom objects that lets you decouple the code from the database.
https://t.co/LNaEjeqmaH
Laravel tip of the day: When working with large collections you can chunkMap the eloquent query. With this you can choose how many models you want to load into memory at a time and makes it possible to process a large quantity of models without running out of memory.
I always keep my "composer.json" file updated with the latest versions of dependencies. To do this, I use the "composer bump" command which increases the minimum version requirement in my "composer.json" file, avoiding accidental downgrades of my dependencies. 🐘
@JackEllis I prefer mocking anything that causes a side effect, ie all external requests. I’m testing my app, not everybody else’s. It also makes tests faster because you don’t have to wait for the request
Two weeks ago we launched Laravel Bootcamp, a "quick start" tutorial that walks you through building a Laravel application with Inertia powered Vue or React.
Today we're launching the Blade edition! 🔪
Thanks @jessarcher!
https://t.co/GWGBI7GQCE
I wrote a blog post about how we use a composer script to dynamically add namespace for modules/domains. https://t.co/reunenmYdm #DomainDrivenDesign#Laravel
I was scratching my head trying to figure out how to make @spatie_be's laravel-data validate nested data objects. I figured that I should probably run composer update just in case, and sure enough, it was already fixed in the newest version! 👏