jyjob / lumen-code-generator by lihuiwang

一个lumen代码生成包
13
0
1
Package Data
Maintainer Username: lihuiwang
Maintainer Contact: 373275156@qq.com (jyjob)
Package Create Date: 2022-04-25
Package Last Update: 2022-08-16
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:00:39
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

lumen代码生成器

介绍

lumen代码生成,目前仅支持特定项目生成,内部使用

安装教程

composer安装

$ composer require jyjob/lumen-code-generator

在app.php添加服务提供者

$app->register(jyjob\LumenCodeGenerator\Providers\LumenCodeGeneratorProvider::class);

使用说明

php artisan make:xbull_admin Help

请输入命名空间,分层级例如:Help/Help:
 > xb_help

请输入对应的数据库表表名,例如:xb_help,需要表前缀:
 > xb_help

 请输入对应的功能名称用于备注,例如:帮助中心:
 > 帮助中心

 请输入需要生成的代码层级:1.model 2.repository 3.service 4.controller 5.request_vo 6.transform
数字以逗号隔开,输入n代表都需要:
 > n

 请输入作者,例如:abc
 > zhang san

参与贡献

  1. laravel代码生成 keepondream/laravel-service