Skip to content

tjphippen/questionnaire

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add questionnaires to your Laravel application

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 tjphippen/questionnaire
php artisan vendor:publish --provider='Tjphippen\Questionnaire\QuestionnaireServiceProvider'

Usage

The models supplied by this package can be used the same as any other model in a laravel application.

Samples:

use Tjphippen\Questionnaire\Models\Question;
use Tjphippen\Questionnaire\Models\Answer;

// Get all questions
Question::get();

// Get answers for a specific user
Answer::where('user_id', $id)->get();

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Weighted questionnaire package for Laravel 5.8+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%