lazyelephpant / repository
Laravel package to facilitate the repository design pattern functionality across multiple projects.
Installs: 346
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/lazyelephpant/repository
This package is not auto-updated.
Last update: 2025-10-04 03:59:23 UTC
README
Laravel package to facilitate repository design pattern implementation across multiple projects.
Installation
composer require lazyelephpant/repository
Plain Repository Class
To generate a repository class without a specific model simply run the following command:
php artisan make:repository NameRepository
Model Repository Class
To generate a repository class for a specific model you may specify by defining the --model
:
php artisan make:repository NameRepository --model=User