einnar82/other-classes
Composer 安装命令:
composer require einnar82/other-classes
包简介
Create your contracts, services and repositories via artisan console.
README 文档
README
Create your contracts, services and repositories via artisan console.
Installation:
Run on your terminal
$ composer require einnar82/other-classes
Then register the service provider at config/app.php.
RannieOllit\OtherClasses\OtherClassesServiceProvider::class,
Finally publish the vendor files, so that you can customized the namespace of your classes at config/other-classes.php.
$ php artisan vendor:publish --provider="RannieOllit\OtherClasses\OtherClassesServiceProvider" --tag="config"
Then you added the four artisan commands.
| Command | Namespace |
|---|---|
| make:trait | App\YourTraits |
| make:contract | App\MyContracts |
| make:service | App\OtherServices |
| make:repository | App\SomeRepositories |
This will generate a fresh file from your distinct commands.
统计信息
- 总下载量: 291
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-03