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
- Host: GitHub
- URL: https://github.com/phpfour/eloquent-examples
- Owner: phpfour
- Created: 2024-07-12T04:12:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T14:51:45.000Z (over 1 year ago)
- Last Synced: 2025-06-24T06:11:55.541Z (8 months ago)
- Language: PHP
- Size: 160 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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