PHPackages                             theodo/quiz-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. theodo/quiz-bundle

ActiveSymfony-bundle

theodo/quiz-bundle
==================

A simple quiz generator bundle

0103PHP

Since May 4Pushed 13y ago1 watchersCompare

[ Source](https://github.com/theodo/TheodoQuizBundle)[ Packagist](https://packagist.org/packages/theodo/quiz-bundle)[ RSS](/packages/theodo-quiz-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TheodoQuizBundle
================

[](#theodoquizbundle)

This is TheodoQuizBundle. A simple bundle for managing quizes etc.

Installation
------------

[](#installation)

This bundle is not yet available through composer. In order to add the bundle to your symfony2 project, please add the following repository to the repositories already available in your `composer.json` file.

```
[...]
"repositories": [
    {...},
    {
        "type": "vcs",
        "url": "https://github.com/theodo/TheodoQuizBundle.git"
    }
],
```

Then add the bundle to the required bundles of your application below:

```
"require": {
    ...,
    "theodo/quiz-bundle": "dev-master"
},
```

Next, you only need to update your project using `composer.phar`:

```
$ php composer.phar update theodo/quiz-bundle
```

Enabling the bundle in your project
-----------------------------------

[](#enabling-the-bundle-in-your-project)

To enable the bundle to work, you need to register it in the `app/AppKernel.php` class of your project, by adding it to the registered bundles as follow:

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new Theodo\QuizBundle\TheodoQuizBundle(),
    );
}
```

Last but not least, the routing activation: You will need to load the routing configuration of the bundle to access the web pages generated by the bundle. To do so, edit the `app/config/routing.yml` file of your project and add the following lines at the end:

```
theodo_quiz:
    resource: "@TheodoQuizBundle/Resources/config/routing/questions.xml"
    prefix: /
```

Feel free to change the prefix to move the pages to another prefixed URL.

Twitter Bootstrap dependency
----------------------------

[](#twitter-bootstrap-dependency)

For the web interface to be as comfortable as possible, the templating system of the bundles requires Twitter Bootstrap's stylesheets.

If you have arrived so far, it means that the Twitter Bootstrap files are already part of your project (indeed it has been downloaded during the `composer update` command of the bundle). You only need to copy the appropriate files to the appropriate place. Don't worry, we did not leave you alone in front of this tedious task. A script is provided, that needs to be triggered after `composer install` and `composer update` commands. Just add to your `composer.json` file the following lines:

```
"scripts": {
    "post-install-cmd": [
        ...,
        "Theodo\\QuizBundle\\Composer\\ScriptHandler::symlinkTwitterBootstrapFiles"
    ],
    "post-update-cmd": [
        ...,
        "Theodo\\QuizBundle\\Composer\\ScriptHandler::symlinkTwitterBootstrapFiles"
    ]
},
```

The last thing you will need to do to have a fully functional `theodo/quiz-bundle` in your project, is to launch the following command to copy the required Twitter Bootstrap files:

```
$ php composer.phar install
```

Enjoy!

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd413d242fb8fc263bbd38eec3dff0d7807c20030a81f278861e269c008c6170?d=identicon)[theodo](/maintainers/theodo)

---

Top Contributors

[![marekkalnik](https://avatars.githubusercontent.com/u/548629?v=4)](https://github.com/marekkalnik "marekkalnik (11 commits)")[![benja-M-1](https://avatars.githubusercontent.com/u/212269?v=4)](https://github.com/benja-M-1 "benja-M-1 (1 commits)")

### Embed Badge

![Health badge](/badges/theodo-quiz-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/theodo-quiz-bundle/health.svg)](https://phpackages.com/packages/theodo-quiz-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
