A series of examples on how to improve Eloquent queries in a standard Laravel application.
Run php artisan migrate --seed
to create the database and seed it with some data.
Then create an account on the application and login to see the examples.
Want to learn these in a more structured way? Check out my Professional Laravel Development course.
- Repository
- Query Builder
- Service