An open API service indexing awesome lists of open source software.

https://github.com/phpfour/eloquent-examples

A series of examples on how to improve Eloquent queries
https://github.com/phpfour/eloquent-examples

Last synced: 4 months ago
JSON representation

A series of examples on how to improve Eloquent queries

Awesome Lists containing this project

README

          

Laravel Logo

## About

A series of examples on how to improve Eloquent queries in a standard Laravel application.

## Installation

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.

## Learn more

Want to learn these in a more structured way? Check out my [Professional Laravel Development](https://cutt.ly/wedevs-laravel) course.

## Where to put Business Logic?

- Repository
- Query Builder
- Service