laravue3/laravel-module-builder 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laravue3/laravel-module-builder

最新稳定版本:0.0.9

Composer 安装命令:

composer require laravue3/laravel-module-builder

包简介

Create module in laravel

README 文档

README

Module builder can be called with params only or with a json description file. The command will not create anything if the folder exist. This is de default behaviour. If you use the force param, it will override the module content.

You can use the force param in combinaison of a specific file. This will create only that file en prevent de override of the others.

Available params

  • 'all', 'a', InputOption::VALUE_NONE, 'Generate a migration, seeder, factory, policy, and resource controller for the model'
  • 'controller', 'c', InputOption::VALUE_NONE, 'Create a new controller for the model'
  • 'factory', 'f', InputOption::VALUE_NONE, 'Create a new factory for the model'
  • 'force', null, InputOption::VALUE_NONE, 'Create the class even if the model already exists'
  • 'json', null, InputOption::VALUE_REQUIRED, 'Create based on json description'
  • 'migration', 'm', InputOption::VALUE_NONE, 'Create a new migration file for the model'
  • 'model', 'M', InputOption::VALUE_NONE, 'Create a new model file '
  • 'policy', null, InputOption::VALUE_NONE, 'Create a new policy for the model'
  • 'seed', 's', InputOption::VALUE_NONE, 'Create a new seeder for the model'
  • 'resource', 'r', InputOption::VALUE_NONE, 'Indicates if the generated controller should be a resource controller'
  • 'repository', 'l', InputOption::VALUE_NONE, 'Create new repository class for the model'
  • 'viewjs', 'j', InputOption::VALUE_NONE, 'Create new vue folder for the module'

Json description file

{ {modelName}: { fields: [ { name: {thename}, value: {thevalue}, precision: {thevalue}, scale: {thevalue}, places: {thevalue}, total: {thevalue}, length: {thevalue}, } ] } }

统计信息

  • 总下载量: 2.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固