escolalms / questionnaire
Escola LMS Questionnaire
Installs: 8 246
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:package
Requires
- php: >=7.4|>=8
- doctrine/dbal: ^2|^3
- escolalms/core: ^1
- laravel/framework: >=8.0
- maatwebsite/excel: ^3.1
Requires (Dev)
- escolalms/courses: ^0
- nunomaduro/larastan: ^2.0
- orchestra/testbench: >=6
- phpunit/phpunit: ^9.0
- dev-main
- 0.2.22
- 0.2.21
- 0.2.20
- 0.2.19
- 0.2.18
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.15
- 0.0.14
- 0.0.13
- 0.0.12
- 0.0.11
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-feature/REK-21
This package is auto-updated.
Last update: 2024-11-14 13:30:35 UTC
README
Questionnaire package
What does it do
This package is used for creating Questionnaire for EscolaLms.
Installing
composer require escolalms/questionnaire
php artisan migrate
php artisan db:seed --class="EscolaLms\Questionnaire\Database\Seeders\QuestionnairePermissionsSeeder"
Endpoints
All the endpoints are defined in
Tests
Run ./vendor/bin/phpunit
to run tests. See tests folder as it's quite good staring point as documentation appendix.
Events
This package does not dispatch any events.
Listeners
This package does not listen for any events
How to use this on frontend.
Admin panel
Left menu
List of questionnaire
Creating/editing questionnaire
Creating/editing question
Assign questionnaire to Course
List of Answers
Report
Front Application
...
Permissions
Permissions are defined in seeder
Database relation
Questionnaires
general Questionnaire (Title) is related to Questionnaire_modelsQuestionnaire_models
Questionnaire model belong to model type and model idQuestionnaire_model_types
Model Type (Curse, Webinar etc.)Questions
Question belong to QuestionnaireQuestion_answers
Question answer is related to Question and Questionnaire_models
Questionnaires 1 -> n Questionnaire_models
Questionnaires 1 -> n Questions
Questionnaire_models 1 -> n Questionnaire_model_types
Question_answers 1 -> n Questions
Question_answers 1 -> n Questionnaire_models
To add new model type you need to insert new record to Questionnaire_model_types
title -> Title of model (example - 'Course')
model_class => Model class name (example 'EscolaLms\Courses\Models\Course')