jord-jd/laravel-multiple-choice

Package that provides multiple choice questions and answers

Maintainers

Package info

github.com/Jord-JD/laravel-multiple-choice

pkg:composer/jord-jd/laravel-multiple-choice

Transparency log

Fund package maintenance!

DivineOmega

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 12

Open Issues: 0

v2.1.0 2026-07-18 10:50 UTC

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

  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.