cooper/laravel-custom-make-command

为开发定制的 Laravel make 命令。

v0.0.1 2023-02-20 01:34 UTC

This package is auto-updated.

Last update: 2024-09-27 10:22:15 UTC


README

为开发定制的 Laravel make 命令。

需求

  • PHP 8.0 或更高版本
  • Laravel 9.0 或更高版本

安装

composer require cooper/laravel-custom-make-command --dev

用法

注意
支持子文件夹。

  • make:service
php artisan make:service demo 

// Service [app/Services/DemoService.php] created successfully.
  • make:repository
php artisan make:repository demo

// Repository [app/Repositories/DemoRepository.php] created successfully.
  • make:action
php artisan make:action demo

// Action [app/Actions/DemoAction.php] created successfully..
  • make:dao
php artisan make:dao demo

// DAO [app/DAOs/DemoDAO.php] created successfully.

许可证

Laravel Custom Make Command 是开源软件,许可协议为 MIT 许可证