luizhenriqueferreira/laravel-repository

A simple package to create a make:repository command for Laravel

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

pkg:composer/luizhenriqueferreira/laravel-repository

v1.1 2021-04-13 02:38 UTC

This package is auto-updated.

Last update: 2025-12-13 12:31:24 UTC


README

Laravel package to facilitate repository design pattern.

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=Name