Sample code for repository design pattern in laravel
Repository Design Pattern for Yii2
My way of implementing the repository pattern in Laravel 5.*
Some Design Pattern implemented in PHP
Decouple your code in service and repository layers to have more robust project structure. Trim down the controllers and focus the main business logic at service layer. In this architecture repository layer communicates with data source and returns a define response.
Repository is a design pattern for Laravel 5 which is used to abstract the database layer.
Repository pattern implementation for Laravel
Yii2 repository Pattern Implementation