sonph/survey

check how controller path go

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/sonph/survey

V2.0.5 2023-10-27 06:47 UTC

This package is auto-updated.

Last update: 2025-11-27 11:34:22 UTC


README

  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