Download the PHP package lms42/quiz-bundle without Composer
On this page you can find all versions of the php package lms42/quiz-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lms42/quiz-bundle
More information about lms42/quiz-bundle
Files in lms42/quiz-bundle
Download lms42/quiz-bundle
More information about lms42/quiz-bundle
Files in lms42/quiz-bundle
Vendor lms42
Package quiz-bundle
Short Description Quiz bundle.
License MIT
Homepage https://lms42.com
Package quiz-bundle
Short Description Quiz bundle.
License MIT
Homepage https://lms42.com
Keywords quiz
Please rate this library. Is it a good library?
Informations about the package quiz-bundle
QuizBundle
Introduction
This bundle provides quiz functionality as standalone symfony2 bundle. Created by 4xxi.com. All bundles by 4xxi.
Features
- Unlimited quiz creation.
- Every quiz can have different number of questions. The question's database could have much more questions than need. For quizes questions are taken randomly.
- Every question can have any number of answers (radio-button answers) or text answer (input field).
- Question & answer can have image.
- Quiz could be limited by time (e.g. 10 minutes).
- It is possible to hide quiz from users. The administrator can manually assign users to quiz.
- Bundle is translated, see Resources/translations. Some translations on english could be missed because of rapidly development.
Requirements
- Symfony2 with twig.
- Doctrine2, DoctrineExtension & DoctrineFixtures.
- FOSUserBundle (please see the installation steps here).
- Annotations for Controllers.
- jQuery & twitter bootstrap css / js or similar.
- It is recommended to use this bundle with SmirikAdminBundle which provides public assets (including twitter bootstrap & jquery) + menu + core classes.
Installation
-
Add bundle to your
deps
file: -
Register the namespace in
autoload.php
(if you don't use other Smirik* bundles): -
Register bundle in your
AppKernel.php
: -
Add the following code to
config.yml
: -
Add routes to
routing.yml
: -
Update database and load test fixtures to see admin functionality
-
See test quiz at
http://host/admin/quiz/
-
Please check that
bootstrap.css
file is loaded. - Enjoy!
Database schema
How to use
- Bundle has its own layout
Resources/views/layout.html.twig
extendingbase.html.twig
. All templates extending this layout. All admin templates extendsResources/views/Admin/layout.html.twig
. - There are 4 controllers:
- AdminQuestionController (/admin/questions/*) for questions management,
- AdminQuizController (/admin/quiz/*) for quizes management,
- AdminUserController (/admin/quiz-users/*) for assigning users to quizes,
- QuizController (/quiz/*) — frontend for users.
- Access to all parts is granted just for authorized users.
- Just ROLE_ADMIN users have access to /admin/* parts.
- To start test quiz you should login (/login) and go to /quiz webpage.
Roadmap
- Comments, pulls, reviews, forks are welcome!
License
MIT.
All versions of quiz-bundle with dependencies
PHP Build Version
Package Version
No informations.
The package lms42/quiz-bundle contains the following files
Loading the files please wait ....