devaissa / file-generator-command

从命令行(php artisan)创建自定义文件

v1.1.2 2021-02-02 12:22 UTC

This package is auto-updated.

Last update: 2024-09-29 06:20:15 UTC


README

安装

从命令行(php artisan)创建自定义文件

composer require devaissa/file-generator-command:"^1.1.1"

配置

在你的 bootstrap/app.php 文件中,添加

$app->register(Devaissa\FileGeneratorCommand\FileGeneratorServiceProvider::class);

可用命令

make:file name --cat=file-type (interface,class,trait ) 创建一个新文件(接口 || 类 || 特性)