sample code for several design patterns in PHP 7.4
Design Pattern Examples in PHP
Laravel 5 - Repositories to abstract the database layer
Repository pattern implementation for Laravel
Repository Design Pattern for Laravel 5 with Eloquent or Collection
Design Patterns com PHP 7: Desenvolva com as melhores soluções. Repositório com os exemplos de código do livro. Repository with the code examples in the book.
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.
A Laravel package for the Repository Design Pattern
Laravel package to facilitate the repository design pattern functionality across multiple projects.