ferrandini/pdo-session-bundle

Symfony2 PDOSession Bundle.

v1.2 2014-07-08 15:29 UTC

README

PDO Session Bundle adds PDO Session to your symfony project easy and fast.

Instal the bundle with composer

...
"require": {
    ...
    "ferrandini/pdo-session-bundle": "1.*"
}
...

Enable the bundle in your app/AppKernel.php

// app/AppKernel.php

...
    $bundles = array(
        ...
        new Ferrandini\Bundle\PDOSessionBundle\FerrandiniPDOSessionBundle(),
    );
...

Configure your session hanlder in config.yml

...
framework:
    ...
    session:
        handler_id: ferrandini.pdo.session.handler
...