wisdompackage/openform
Composer 安装命令:
composer require wisdompackage/openform
包简介
form to make a api form for other device. this only for laravel project !
README 文档
README
form to make a api form for other device. this only for laravel project !
##Requirements
##Installation in composer.json add
"Wisdom\\Openform\\" : "vendor/wisdompackage/openform/src"
to "psr-4"
in config/app add
Wisdom\Openform\OpenformServiceProvider::class,
to array provider
and then run
$ composer require wisdompackage/openform
run
$ php artisan vendor:publish
$ php aritsan migrate
so now you can run a form package thought
##Usage Send your answer by http POST
type : json
example
{ "form_id" : 1 ,
"answers" : [
{"question_id" : 1,
"type" : "text",
"value" : "eiei"
},
{"question_id" : 2,
"type" : "single",
"value" : 2
},
{
"question_id" : 3,
"type" : "multiple",
"values" : [1,2,3]
}
]
}
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-27