PHPackages                             jlaso/session-storage-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. [Database &amp; ORM](/categories/database)
4. /
5. jlaso/session-storage-bundle

ActiveBundle[Database &amp; ORM](/categories/database)

jlaso/session-storage-bundle
============================

Layer to create table for PDOSessionHandler

0491PHP

Since Nov 14Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (1)

[![Latest Stable Version](https://camo.githubusercontent.com/f7b9aa275d6a01f18f7774ec76358e0936af6188a316e063055d80e6dad2d773/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f73657373696f6e2d73746f726167652d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/jlaso/session-storage-bundle) [![Total Downloads](https://camo.githubusercontent.com/6f069944fa9b868db73c18b006a6a0927390482436ba2136ac17f883257df033/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f73657373696f6e2d73746f726167652d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/jlaso/session-storage-bundle) [![Latest Unstable Version](https://camo.githubusercontent.com/cbfcf580ee71efa75a69b0acc4f266e362cb4643a713e4582ba15b8882463955/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f73657373696f6e2d73746f726167652d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/jlaso/session-storage-bundle) [![License](https://camo.githubusercontent.com/e90632f84cb72c8b2f2658b8b6ef39aa8ff4e70d99974385b420dec9d85ead39/68747470733a2f2f706f7365722e707567782e6f72672f6a6c61736f2f73657373696f6e2d73746f726167652d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/jlaso/session-storage-bundle)

======== Overview
=================

[](#overview)

This bundle creates the table needed for the PDOSessionHandler

In order to install this bundle you need to pay attention with requirements:

```
php > 5.3.7

```

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

[](#installation)

Checkout a copy of the code:

```
// in composer.json
"require": {
    // ...
    "jlaso/session-storage-bundle": "*"
    // ...
},

```

Then register the bundle with your kernel:

```
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new JLaso\SessionStorageBundle\SessionStorageBundle(),
    // ...
);

```

Configuration
-------------

[](#configuration)

```
// in app/config/config.yml
services:
    pdo:
        class: PDO
        arguments:
            - "mysql:host=%database_host%;port=%database_port%;dbname=%database_name%"
            - "%database_user%"
            - "%database_password%"
        calls:
            - [setAttribute, [3, 2]] # \PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION
    session.handler.pdo:
        class:     Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
        arguments: ["@pdo", "%pdo.db_options%"]

```

Usage
-----

[](#usage)

execute schema:update to create into database the **session** table:

```
app/console doctrine:schema:update --force

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![jlaso](https://avatars.githubusercontent.com/u/1332197?v=4)](https://github.com/jlaso "jlaso (3 commits)")

### Embed Badge

![Health badge](/badges/jlaso-session-storage-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/jlaso-session-storage-bundle/health.svg)](https://phpackages.com/packages/jlaso-session-storage-bundle)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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