Looking to hire Laravel developers? Try LaraJobs

laravel-multiple-choice maintained by divineomega

Description
Package that provides multiple choice questions and answers
Author
Last update
2026/07/18 12:50 (dev-master)
License
Links
Downloads
124

Comments
comments powered by Disqus

Laravel Multiple Choice

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

  1. Run composer require jord-jd/laravel-multiple-choice.
  2. On Laravel versions without package discovery, add JordJD\LaravelMultipleChoice\Providers\LMCServiceProvider::class to the providers array in config/app.php.
  3. 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.