Skip to content

Treggats/crud-repository-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crud Repository Generator

With this package you can generate simple CRUD repositories, with or without a contract.

Usage

Without contract for the User model.

php artisan make:repository UserRepository

With contract for the User model.

php artisan make:repository -c UserRepository

Config

If you have a custom location for your models, you can publish the config. The config defaults to "App\Models"

php artisan vendor:publish --provider="Treggats\CrudRepositoryGenerator\CrudRepositoryGeneratorServiceProvider"

About

Artisan command to quickly generate repositories with contract

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages