divineomega / laravel-multiple-choice
This package is abandoned and no longer maintained.
The author suggests using the jord-jd/laravel-multiple-choice package instead.
Package that provides multiple choice questions and answers
Package info
github.com/Jord-JD/laravel-multiple-choice
pkg:composer/divineomega/laravel-multiple-choice
Fund package maintenance!
v2.1.0
2026-07-18 10:50 UTC
Requires
- php: >=5.5.9
- illuminate/database: ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
- illuminate/http: ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
- illuminate/view: ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
Requires (Dev)
- phpunit/phpunit: ^4.8 || ^9.6 || ^12.0
Replaces
This package is auto-updated.
Last update: 2026-07-18 10:52:33 UTC
README
Package that provides multiple choice questions and answers
Supports Laravel 5.1 through 13 without raising the PHP 5.5.9 minimum. Laravel package discovery is supported on current Laravel versions.
Installation
- Run
composer require jord-jd/laravel-multiple-choice. - On Laravel versions without package discovery, add
JordJD\LaravelMultipleChoice\Providers\LMCServiceProvider::classto theprovidersarray inconfig/app.php. - Run
php artisan vendor:publish --provider="JordJD\LaravelMultipleChoice\Providers\LMCServiceProvider" --tag="migrations" --force.
QuestionManager::put($question, $choices) creates or updates a question and synchronises its choices. Submitted choices are accepted only when they belong to the submitted question.