leapfinder / laravel-questionnaire
A very simple questionnaire for a laravel 5.8+ website or application
v1.0.0
2019-04-10 19:28 UTC
Requires
- php: ^7.1
- illuminate/config: ~5.8.0
- illuminate/database: ~5.8.0
- illuminate/support: ~5.8.0
Requires (Dev)
- ext-json: *
- orchestra/testbench: ~3.8.0
- phpunit/phpunit: ^7.5|^8.0
- scrutinizer/ocular: ^1.5
This package is auto-updated.
Last update: 2025-07-16 13:03:24 UTC
README
This package allows you to add questionnaires for all users in your Laravel application
Installation
This package can be used in Laravel 5.8 or higher.
composer require leapfinder/laravel-questionnaire
php artisan vendor:publish --provider='LeapFinder\Questionnaire\QuestionnaireServiceProvider'
Usage
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();
Credits
- Milo Cesar - laravel-questionnaire is a package based off laravel-survey
- All Contributors
License
The MIT License (MIT). Please see License File for more information.