leapfinder/laravel-questionnaire
Composer 安装命令:
composer require leapfinder/laravel-questionnaire
包简介
A very simple questionnaire for a laravel 5.8+ website or application
README 文档
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.
统计信息
- 总下载量: 252
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-10