One of the common challenges when migrating a legacy PHP application to Laravel is creating database migrations based on the existing database. Recently I stumbled upon a database with over a hundred tables, and here is how I handled it.
https://t.co/I5tJhvAcGn
For those who care, I just bumped our LaryAI forum assistant to use OpenAI's "gpt-3.5-turbo" language model (most advanced), which should allow for much better responses.
It's also significantly cheaper. :)
"Eloquent Performance Patterns" is now 100% complete and available to watch on Laracasts.
- The gold standard course for Eloquent performance.
- 28 episodes of goodness.
- Expertly recorded by by @reinink.
https://t.co/uje6ZpWtog
@PovilasKorop Still is a one of the best choises, but its up to you. Backend-ers can use livewire, frontend-ers Vue, React,... any other but those are laravel boilerplates. Inertia.js with is a best of both worlds in my opinion. There are new kits like splade (blade and vue).
⚡️ Database Tip
Sometimes you have very complex queries involving multiple calculation steps. Instead of nesting queries or doing it in application code you can use Common Table Expressions (CTE) to refine your data in every step and even reuse former steps.
Ok my "Laravel Roadmap" project is taking the "official" shape.
I've put it on Github: https://t.co/Xj05OToMir
Share it with beginners who want to learn Laravel step-by-step.
Suggest changes with Issues and PRs.
Will improve it with Projects and Mid/Senior level topics.
Today's update to Laravel 8 From Scratch dips into some slightly more advanced programming topics.
We discuss PHP contracts, registration bindings, and the service container.
https://t.co/CFetKehbZo