wisdompackage / openform
form to make a api form for other device. this only for laravel project !
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Language:HTML
pkg:composer/wisdompackage/openform
This package is not auto-updated.
Last update: 2025-10-06 19:59:16 UTC
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] } ] }