appoly/smart-schema-2
Composer 安装命令:
composer require appoly/smart-schema-2
包简介
A package to auto generate forms
README 文档
README
Smart Schema v2 is a package that generates forms using vue js!
This package helps to generate the schema in laravel
Installation
composer require appoly/smart-schema-2
npm i @appoly/smartschema-vue --save
View the VueJS package here https://github.com/appoly/smartschema-vue
Command
php artisan smartschema:generate
This will read your database tables and generate constants files with the schema required for the Vue package. This will give you a quick and easy start and can be modified in anyway
NOTE: running the command again will overwrite any changes
Usage
public function index() { $schema = json_encode(UserSchema::SCHEMA); return view('home', compact('schema')); }
统计信息
- 总下载量: 2.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-02-07