lazyelephpant / repository
There is no license information available for the latest version (v1.0) of this package.
Laravel package to facilitate the repository design pattern functionality across multiple projects.
v1.0
2019-07-31 21:44 UTC
This package is not auto-updated.
Last update: 2025-04-19 01:53:27 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