ferrandini/pdo-session-bundle

Symfony2 PDOSession Bundle.

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

This package is auto-updated.

Last update: 2024-10-20 17:22:50 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
...