承接 daniyal2959/management 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

daniyal2959/management

Composer 安装命令:

composer require daniyal2959/management

包简介

This package will manage CRUD actions

README 文档

README

Ever had a waste of time having to create models and controllers for some parts of the project and write down all seven controller functions or copy and paste from another controller and change it?

This package create model, migration, controller, factory, seeder and routes with their default codes

The package purpose is avoid wasting time.

1: Setup

composer require daniyal2959/management

2: Launch

The main command is php artisan crud:create. if you want to set migration structure use --scheme option as below:

Options

  • --scheme= (optional) : this option create migration structure. this structure is:

php artisan crud:create --scheme=<name>:<type>:<size>:<nullable>

Explain:

  1. First parameter is the name of the column
  2. Second parameter is the column type
  3. Third parameter is the column size
  4. Fourth parameter is the column nullable -> default set Not Null

This is a sample for more information:

php artisan crud:create --scheme=title:string:30,likes:integer:10:nullable

  • --seed= (optional) : this option create factory and seeder. if you want to create factory and seeder use this option. this structure is:

php artisan crud:create --seed=<seed-count>

Explain:

  1. this parameter set how many fake data you want to create.

This is a sample for more information:

php artisan crud:create --seed=300

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固