iampapaisarkar/laravel-custom-class
最新稳定版本:1.0.3
Composer 安装命令:
composer require iampapaisarkar/laravel-custom-class
包简介
Easily can create custom classes by artisan command
README 文档
README
Easily can create custom classes by artisan command (Service, Trait and Factory Class)
Laravel Version
Laravel 8 >=
installation
composer require iampapaisarkar/laravel-custom-class
Usage
// in your application app.php file add service provider // go to config/app.php // scroll down to providers array and set this Iampapaisarkar\LaravelCustomClass\LaravelCustomClassServiceProvider::class, 'providers' => ServiceProvider::defaultProviders()->merge([ Iampapaisarkar\LaravelCustomClass\LaravelCustomClassServiceProvider::class, ])->toArray(),
Usage
// Open you project terminal and run following commands:
// Create Service
php artisan make:service YouClassName
// Create Trait
php artisan make:trait YouClassName
// Create Factory
php artisan make:custom-factory YouClassName
License
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-19