PHPackages                             avoo/qcm-core-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. [Framework](/categories/framework)
4. /
5. avoo/qcm-core-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

avoo/qcm-core-bundle
====================

QCM Core bundle for Symfony2

1.0.3(9y ago)02201[1 issues](https://github.com/avoo/QcmCoreBundle/issues)2MITPHPPHP &gt;=5.3.3

Since Apr 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/avoo/QcmCoreBundle)[ Packagist](https://packagist.org/packages/avoo/qcm-core-bundle)[ RSS](/packages/avoo-qcm-core-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (2)

QcmCoreBundle
=============

[](#qcmcorebundle)

[![Latest Stable Version](https://camo.githubusercontent.com/8e3177eadeb1d44817100b70f55ef425350f230aa5a8ec4fe47afda058b33c5b/68747470733a2f2f706f7365722e707567782e6f72672f61766f6f2f71636d2d636f72652d62756e646c652f762f737461626c65)](https://packagist.org/packages/avoo/qcm-core-bundle)[![License](https://camo.githubusercontent.com/3d16377c154d3d85124ac57dee401bb13ba4584aa7aaf2bb1bb14c290136e857/68747470733a2f2f706f7365722e707567782e6f72672f61766f6f2f71636d2d636f72652d62756e646c652f6c6963656e7365)](https://packagist.org/packages/avoo/qcm-core-bundle)[![Build Status](https://camo.githubusercontent.com/1a6ac06e41b0f9f3a9deb955199d647b006bc4f67b13ac9e1d86ba4a7430fdf3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61766f6f2f51636d436f726542756e646c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/avoo/QcmCoreBundle/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e022dc461eaf4a16dd9192dddb28a85440d0d954ce08c3917efbcd6b8552e9f2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61766f6f2f51636d436f726542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/avoo/QcmCoreBundle/?branch=master)

The core bundle includes the basic functionalities of qcm based on [`SyliusResourceBundle`](https://github.com/Sylius/SyliusResourceBundle) concept and implement [`QcmComponent`](https://github.com/avoo/QcmComponents)

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

[](#installation)

Require [`avoo/qcm-core-bundle`](https://packagist.org/packages/avoo/qcm-core-bundle)into your `composer.json` file:

```
{
    "require": {
        "avoo/qcm-core-bundle": "@dev-master"
    }
}
```

Register the bundle in `app/AppKernel.php`:

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new FOS\RestBundle\FOSRestBundle(),
        new JMS\SerializerBundle\JMSSerializerBundle($this),
        new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(),
        new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
        new Qcm\Bundle\CoreBundle\QcmCoreBundle(),
    );
}
```

In `app/config.yml`

```
imports:
    - { resource: parameters.yml }
    - { resource: security.yml }
    - { resource: @QcmCoreBundle/Resources/config/core.yml }
```

Security default configuration
------------------------------

[](#security-default-configuration)

You can use the default register/login process:

In `app/config/routing.yml`

```
qcm_core:
    prefix:   /
    resource: "@QcmCoreBundle/Resources/config/routing.yml"
```

Add default user provider, firewall and access control in `app/config/security.yml`:

```
security:
    encoders:
        Qcm\Component\User\Model\UserInterface: sha512
    providers:
        qcm_corebundle:
            id: qcm_core.user_provider.username
    firewalls:
        login_firewall:
            pattern:    ^/security/login$
            anonymous:  ~
        secured_area:
            pattern:    ^/
            anonymous:  ~
            form_login:
                provider:            qcm_corebundle
                login_path:          qcm_core_security_login
                check_path:          qcm_core_security_login_check
                remember_me:         true
                default_target_path: you_homepage_route
            logout:
                path:   qcm_core_security_logout
    access_control:
        - { path: "^/security/login", roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: "^/", roles: ROLE_USER }
```

QCM Configuration
-----------------

[](#qcm-configuration)

You can override de default questionnaire configuration in `app/config/config.yml`

```
qcm_core:
    website_name: Qcm Demo // The website name
    configuration:
        max_questions: 40 //Questions number max by questionnaire
        question_level: ["beginner", "senior", "jedi"] //Determine the level for each question
        answers_max: 5 //Number of answers max by question
        timeout: 2400 //Total time of the questionnaire (in seconds)
        time_per_question: 60 //Time per question, if you choose this value, the timeout will be disabled
```

Override service
----------------

[](#override-service)

For statistics class:

```
qcm_core:
    service:
        statistics:
            class: MyBundle\Statistics\Class // For better compatibility extends the Model\QuestionnaireStatistics
            template: MyBundle\Answers\Template\Class // You need to implements the qcm TemplateInterface
```

Credits
-------

[](#credits)

- Jérémy Jégou

License
-------

[](#license)

This bundle is released under the MIT license. See the complete license in the bundle:

[License](https://github.com/avoo/QcmCoreBundle/blob/master/LICENSE)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~168 days

Total

4

Last Release

3535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b8ee83ffc36845dc3d1092cd98dbf56fc2cffd8e46b2d04b777959992cb60eb?d=identicon)[avoo](/maintainers/avoo)

---

Top Contributors

[![avoo](https://avatars.githubusercontent.com/u/6162605?v=4)](https://github.com/avoo "avoo (67 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avoo-qcm-core-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/avoo-qcm-core-bundle/health.svg)](https://phpackages.com/packages/avoo-qcm-core-bundle)
```

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/shopware

Shopware 5 is an open source e-commerce software made in Germany

1.3k746.6k35](/packages/shopware-shopware)[sylius/taxation-bundle

Flexible taxation system for Symfony ecommerce applications.

17320.8k3](/packages/sylius-taxation-bundle)[sylius/product-bundle

Product catalog for your Symfony applications.

16324.5k12](/packages/sylius-product-bundle)[sylius/shipping-bundle

Flexible shipping system for Symfony ecommerce applications.

13166.2k6](/packages/sylius-shipping-bundle)

PHPackages © 2026

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