Download the PHP package chihchenghuang/laravel-mrs-generators without Composer
On this page you can find all versions of the php package chihchenghuang/laravel-mrs-generators. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chihchenghuang/laravel-mrs-generators
More information about chihchenghuang/laravel-mrs-generators
Files in chihchenghuang/laravel-mrs-generators
Package laravel-mrs-generators
Short Description This package is a experimental project inspired by yish/generators which extends the core file generators based on Laravel 5
License MIT
Informations about the package laravel-mrs-generators
Laravel MRS Generators
This package is a experimental project inspired by yish/generators which extends the core file generators based on Laravel 5 It can help you build classes with basic Model-Repository-Service pattern.
Installation
Install by composer
Registing Service Provider
or
Example
Generate Repository:
This command will generate a repository class.
Generate Service:
This command will generate a service class.
Generate classes based on the corresponding Model-Repository-Service Pattern Set:
This command will generate classes based on the corresponding Model-Repository-Service Pattern Set. It will create files like the example pattern below by using only one command:
-
app/Models/Test.php
-
app/Repositories/TestRepository.php
- app/Services/TestService.php