定制 govindtomar/crud-generator-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

govindtomar/crud-generator-api

最新稳定版本:1.0.2

Composer 安装命令:

composer require govindtomar/crud-generator-api

包简介

Laravel crud generator api

README 文档

README

Installation

composer require govindtomar/crud-generator-api
php artisan vendor:publish --provider="GovindTomar\CrudGeneratorApi\CrudGeneratorApiServiceProvider"

Configuration

You will find a configuration file located at config/crud.php

'code_type' => 'API',

Examples

CRUD Create

php artisan make:crud ContactMe --fields=text*name,email*email,text*subject,textarea*message

CRUD with Relationship

php artisan make:crud ContactMe --fields=text*name,email*email,text*subject,textarea*message --model=User

CRUD with migration

php artisan make:crud ContactMe --fields=text*name,email*email,text*subject,textarea*message --migration=yes

CRUD with Relationship & Migration

php artisan make:crud Post --fields="text*name,image*profile,image*cover,select*user",toggle*status,toggle*publish --model=User --migration=yes

Available fields

text | email | file | hidden | image | number | password | date | radio | select | textarea | toggle

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-02