shamaseen/laravel-repositories is a Laravel package for repository pattern files generator.
It currently has 6 GitHub stars and 12.056 downloads on Packagist (latest version 4.1.0).
Install it with composer require shamaseen/laravel-repositories.
Discover more Laravel packages by shamaseen
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel Repository generator with the best practice and tools already set and ready to be used.
This package aim to provide auto file generation and base classes for the repository design pattern on Laravel.
Repository pattern forces you to have repository files in mediate between controllers and models, acting like a container where data access logic and business logic are stored.
MVC Violate the single responsibility principle in SOLID principles, where controller methods are responsible for the business logic and returning responses to the front-end users in the same time, making it impossible to re-use these methods or to independently testing the business logic in them.
After a request is being sent to the Laravel application, it follows these steps:

Run:
php artisan generate:repository Test
This will generate the following files:
Read the full document on ReadTheDoc.
MIT License
We follow Semantic Versioning