solverao/gentools
Composer 安装命令:
composer require solverao/gentools
包简介
Make Repositories, presenterers and others general tools
README 文档
README
Gentools is a composer package for to make eloquent repositories.
Installation
Use the composer to install the package.
composer require solverao/gentools
Usage
Repository
To create a new repository class run the following command
php artisan make:repo "nameRepository"
It will default be created in App/Repositories
Presenter
To create a new presenter class run the following command
php artisan make:presenter "namePresenter"
It will default be created in App/Presenters
Config
If you want to publish the config file run the following command php artisan vendor:publish and chose gentools-config.
Test
To generate coverage report run
phpunit --coverage-test
or
phpunit --coverage-html test/coverage
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
统计信息
- 总下载量: 64
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-07