yii-quiz Module for creating timed quizzes with pagination

  1. Demo + download
  2. Features
  3. Requirements
  4. Usage
  5. Donations

Module that allows you to create timed quizzes with pagination. If you get a passing score you can download a diploma.

Demo + download

Yii quiz homepage


  • Questions and answers appear randomly.
  • Up to 6 answers (may be extended if needed).
  • Questions and answers are stored in a SQLite database.
  • Diploma is generated using FPDF.
  • Questions belong to categories. You can create as many categories as you want.




Copy and paste the module in protected/modules

Add the module in the modules array of protected/config/main.php:


You can add these rules in the Url Manager:

     'quiz'=> 'quiz/site/index',
     'quiz/<category:\d+>'=> 'quiz/site/start',

Then you can access the quiz through this URL: www.yoursite.com/quiz

If you want you can adjust parameters in modules/quiz/controllers/SiteController.php:

const SECONDS_PER_QUESTION = 10; // false to disable the countdown.
const PAGE_SIZE = 5; // false for all questions in one page.
const MINIMUM_SCORE = 90; // false to disable diploma.
const QUESTIONS_NUMBER = false; // false for all questions.


Donations are welcome. Thanks for your support!!!


0 0
Yii Version: 1.1.*
License: GPL-3.0
Category: User Interface
Developed by: oligalma
Created on: Nov 7, 2015
Last updated: 3 months ago

Related Extensions