PHPackages                             unitedasian/propel-session-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. unitedasian/propel-session-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

unitedasian/propel-session-bundle
=================================

Symfony bundle to manage sessions

1.0.8(9y ago)112.2k21MITPHPPHP &gt;=5.3.3

Since Jan 6Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (5)Used By (1)

UAMPropelSessionBundle
======================

[](#uampropelsessionbundle)

UAMPropelSessionBundle is an opinitionated symfony bundle that provides a convenient implementation of sessions via Propel ORM.

The motivation for this bundle was an issue of inconvenience:

- Configuring sessions in multiple symfony apps is repetitive, yet so standardized as not worth the effort each time.
- The session table does not really need a schema nor Propel OM classes in the app; yet if not present, the `propel:migration:generate-diff` will attempt to remove it each time it is run.

To resolve this, this bundle provides a ready-to-use configuration for the app's sessions-related settings, as well as a Propel schema for the sessions table.

This bundle is highly opinionated:

It provides no latitude for customization; if the settings it provides are unsuitable for your app, then you should customize the session settings the usual way in your app's configuration.

This bundle also deliberately ignores basic principles of software design, and assumes the existence of certain named container parameters; if these parameters are absent, the app may fail cryptically. On the other hand, these parameters are usually present in any symfony apps; changing their names in the app config to match the names exeepcted by the bundle presents little difficulty.

This bundle uses the default table name for sessions (`sessions`) and default column names (`sess_id`, `sess_data`, `sess_time`, `sess_lifetime`).

The following parameters should be defined somewhere in the app:

- `database_host`
- `database_port`
- `database_name`
- `database_user`
- `database_password`

Usage
-----

[](#usage)

Add the bundle to your app's `composer.json` file requirements:

```
    require: {
    	"unitedasian/propel-session-bundle": "~1.0",
    	...
	}
```

Enable the bundle in your app's kernel:

```
# app/AppKernel.php

    public function registerBundles()
    {
		$bundles = array(
            new UAM\Bundle\PropelSessionBundle\UAMPropelSessionBundle(),
            ...
        );

        ...

        return $bundles;
    }
```

Create the `sessions` table: There are plenty of ways to do so via a propel command, such as `propel:sql:build`; the easiest method is probably to run `propel:migration:generate-diff` and then `propel:migration:migrate`.

Update your app's configuration to use the session handler service provided by the bundle:

```
# app/config/config.yml

framework:
    session:
        handler_id: unitedasian.session.handler.pdo
```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

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 ~90 days

Total

4

Last Release

3504d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61710b3e2bdf8cc378cb14f7e9c3d4fa753738373565270820a7be21c89f6d69?d=identicon)[opichon](/maintainers/opichon)

---

Top Contributors

[![opichon](https://avatars.githubusercontent.com/u/203745?v=4)](https://github.com/opichon "opichon (14 commits)")

---

Tags

symfonybundlesession

### Embed Badge

![Health badge](/badges/unitedasian-propel-session-bundle/health.svg)

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

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18168.6k](/packages/ekreative-uuid-extra-bundle)[fsi/datagrid-bundle

FSi Datagrid Bundle

1859.8k1](/packages/fsi-datagrid-bundle)[glooby/task-bundle

Scheduling of tasks for symfony made simple

3216.3k](/packages/glooby-task-bundle)

PHPackages © 2026

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