Skip to content

sonphait/demo_package_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. In your terminal:
$ composer require sonph/survey
  1. Publish the config file:
php artisan vendor:publish --provider="Sonphait\Survey\SurveyServiceProvider"
  1. Run migration:
   php artisan migrate
  1. Run seeder:
   php artisan db:seed --class=SurveySeeder
  1. View index page: "/survey/index"

  2. [optional] Change values in config/survey-manager.php (route prefix, middleware, file upload max size, ...)

  3. [optional] To test file uploaded by user, uncomment save file to S3 code in public/vendor/survey-manager/js/show_form.js. The File type question itself must have 'storeDataAsText' as false (see admin README)

  • Note: To use S3 as file storage, change value of 'client_s3_url' and 'client_s3_folder' in config/survey-manager.php to where you save file on S3

About

check controller path

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors