Package Data | |
---|---|
Maintainer Username: | jisack |
Maintainer Contact: | jokjack26172@gmail.com (JacobIsack) |
Package Create Date: | 2016-10-21 |
Package Last Update: | 2016-10-26 |
Language: | HTML |
License: | MIT |
Last Refreshed: | 2025-02-06 15:02:02 |
Package Statistics | |
---|---|
Total Downloads: | 12 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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
www.yourdomain.com\form
##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]
}
]
}