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
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-02