therockersenior/l5-repository
A Laravel repository pattern package that adds Criteria, Presenters, Fractal transformers, and caching to keep your controllers slim and your data layer reusable and testable across projects.
Laravel Repository Pattern — l5-repository provides a clean abstraction layer for data access in Laravel applications. It offers a standard repository interface and BaseRepository implementation, letting you decouple your application logic from Eloquent and swap out data sources without touching business code.
The package includes powerful artisan generators for repositories, criteria, presenters, and transformers, plus support for Fractal and API resources.
BaseRepository with standard CRUD, scopes, and Eloquent methodsmake:repository, make:criteria, etc.)How can I help you explore Laravel packages today?