This package allows you to add questionnaires for all users in your Laravel application
This package can be used in Laravel 5.8 or higher.
composer require leapfinder/laravel-questionnaire
php artisan vendor:publish --provider='LeapFinder\Questionnaire\QuestionnaireServiceProvider'
The models supplied by this package can be used the same as any other model in a laravel application.
Samples:
use LeapFinder\Questionnaire\Models\Question;
use LeapFinder\Questionnaire\Models\Answer;
// Get all questions
Question::get();
// Get answers for a specific user
Answer::where('user_id', $id)->get();
- Milo Cesar - laravel-questionnaire is a package based off laravel-survey
- All Contributors
The MIT License (MIT). Please see License File for more information.