Download the PHP package escolalms/topic-type-gift without Composer
On this page you can find all versions of the php package escolalms/topic-type-gift. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download escolalms/topic-type-gift
More information about escolalms/topic-type-gift
Files in escolalms/topic-type-gift
Package topic-type-gift
Short Description Escola Headles LMS Topic Type GIFT
License MIT
Informations about the package topic-type-gift
Topic Type GIFT
What does it do
This package is another TopicType. It is used to make knowledge tests. If you want to learn more about this format then see Moodle GIFT format
This package supports the following types of questions:
- multiple choice
- multiple choice with multiple right answers
- true-false
- short answers
- matching
- numerical question
- essay
- description
Each question is stored in the database as a string. In the tests you can see examples of questions of different types. See examples
The quiz can have a set maximum number of attempts for the user to solve the test and a maximum time for each attempt.
If the user doesn't complete the attempt then it is closed automatically after the time set by the variable Config::get('escolalms_gift_quiz.max_quiz_time');
The user will see the results when the attempt is finished.
The answer to an essay type question is not automatically graded. The teacher should do it.
Installing
composer require escolalms/topic-type-gift
php artisan migrate
php artisan db:seed --class="EscolaLms\TopicTypeGift\Database\Seeders\TopicTypeGiftPermissionSeeder"
Endpoints
Database
See the database schema snippet for a better understanding of how it is made.
Student flow
See diagram of how student flow works.
Tests
Run ./vendor/bin/phpunit
to run tests.
Test details
Events
QuizAttemptStartedEvent
- This event is dispatched when the user starts a new attempt to solve the test.QuizAttemptFinishedEvent
- This event is dispatched when the user has finished solving the test.
Listeners
This package does not listen for any events.
Permissions
Permissions are defined in seeder.
All versions of topic-type-gift with dependencies
escolalms/auth Version ^0
escolalms/categories Version ^0
escolalms/core Version ^1
escolalms/settings Version ^0
escolalms/topic-types Version ^0
laravel/framework Version >=8.0
maatwebsite/excel Version ^3.1