Download the PHP package grelu/surveyjs-bundle without Composer
On this page you can find all versions of the php package grelu/surveyjs-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download grelu/surveyjs-bundle
More information about grelu/surveyjs-bundle
Files in grelu/surveyjs-bundle
Package surveyjs-bundle
Short Description SurveyJs Bundle
License
Informations about the package surveyjs-bundle
SurveyJsBundle
SurveyJsBundle is just an integration of surveyjs library in Symfony 3.
How to
- Install this bundle : composer require grelu/surveyjs-bundle
Enable the bundle
To start using the bundle, register the bundle in your application's kernel class:
Enable routing
Update schema :
Install Assets :
You must now to extend two class in your AppBundle :
Add Class Survey (to save your surveys ) :
Add Class DataSurvey (to save results of surveys)
Add class in your config.yml
It's Ok ! This is the list of routes available :
survey_index GET ANY ANY /survey/
survey_new_edit GET|POST ANY ANY /survey/edit/{id}
survey_save POST ANY ANY /survey/save
survey_show GET ANY ANY /survey/show/{id}/number/{number}
survey_data_save POST ANY ANY /survey/data-save
Enjoy!
All versions of surveyjs-bundle with dependencies
friendsofsymfony/jsrouting-bundle Version ^1.6
sensio/framework-extra-bundle Version ^3.0.2