naldi/l5-repository
Laravel package that implements the Repository pattern, giving you an abstraction layer over your data source. It ships with criteria, presenters, validators, caching, Fractal transformers, and Artisan generators to keep your app clean and testable.
Adopt when:
Look elsewhere when:
spatie/laravel-query-builder, Eloquent scopes, custom repositories, or CQRS-style read models.To executives: An MIT-licensed Laravel abstraction that cuts boilerplate and shortens time-to-market for data-backed features at effectively zero licensing cost. The trade-off is maintenance and version-fit risk, so recommend a bounded pilot in a non-core service rather than a platform-wide mandate.
To engineering: It supplies BaseRepository, criteria, presenters, caching, and validators out of the box, enforcing consistent data access and improving testability. The caveat is that it is Laravel 5-era: confirm compatibility, assess upstream activity, and decide up front whether the team is willing to fork and patch before adopting it as a standard.
How can I help you explore Laravel packages today?