a3020/quiz

Create a quiz based on Slim, Bootstrap, JSON and Twig.

dev-master 2016-03-11 13:36 UTC

README

Requirements

  • PHP 5.5+
  • Composer

Description

There are three templates included: list, quiz and score. A user can only submit a quiz once. The score is saved in a session.

It's possible to add new quizzes by adding a new json file to the /data directory. An example quiz (example-quiz.json) is included. It's only possible to add multiple choice questions.

This package is meant as a starting point that can be easily modified.

Software

Built with:

  • Slim Framework 3
  • Twitter Bootstrap 3
  • JSON
  • Urlify

Screenshot

Quiz Screenshot