PHPackages                             phpmentors/route-based-session-configuration-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. phpmentors/route-based-session-configuration-bundle

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

phpmentors/route-based-session-configuration-bundle
===================================================

A Symfony bundle for session configuration based on route configuration

v1.1.0(6y ago)0718↓100%2[1 PRs](https://github.com/phpmentors-jp/route-based-session-configuration-bundle/pulls)BSD-2-ClausePHPPHP &gt;=5.5.9

Since Mar 2Pushed 3y ago3 watchersCompare

[ Source](https://github.com/phpmentors-jp/route-based-session-configuration-bundle)[ Packagist](https://packagist.org/packages/phpmentors/route-based-session-configuration-bundle)[ RSS](/packages/phpmentors-route-based-session-configuration-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (11)Versions (4)Used By (0)

RouteBasedSessionConfigurationBundle
====================================

[](#routebasedsessionconfigurationbundle)

A Symfony bundle for session configuration based on route configuration

[![Total Downloads](https://camo.githubusercontent.com/8fe55d8566ccfcd3ea7d273a062fa5ead33830f24c5fbf37f5147a3956f39193/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f726f7574652d62617365642d73657373696f6e2d636f6e66696775726174696f6e2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/phpmentors/route-based-session-configuration-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/b40a1e45faff36f0c7cbeb823a0c5e90067811c21322bf5c855da5fca638ae96/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f726f7574652d62617365642d73657373696f6e2d636f6e66696775726174696f6e2d62756e646c652f762f737461626c65)](https://packagist.org/packages/phpmentors/route-based-session-configuration-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/0ff4df66cbdc7f664cc1254480bc67c3c9dcb8aff7f5b46da12a09c9a8a4f707/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f726f7574652d62617365642d73657373696f6e2d636f6e66696775726174696f6e2d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/phpmentors/route-based-session-configuration-bundle)[![Build Status](https://camo.githubusercontent.com/e957121242644477143d785a55573e02f4a920b58f803328ed5b356ddc1225e2/68747470733a2f2f7472617669732d63692e6f72672f7068706d656e746f72732d6a702f726f7574652d62617365642d73657373696f6e2d636f6e66696775726174696f6e2d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpmentors-jp/route-based-session-configuration-bundleproxy-url-rewrite-bundle)

Features
--------

[](#features)

- Runtime session configuration by route configuration

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

[](#installation)

RouteBasedSessionConfigurationBundle can be installed using [Composer](http://getcomposer.org/).

First, add the dependency to `phpmentors/route-based-session-configuration-bundle` into your `composer.json` file as the following:

Stable version:

```
composer require phpmentors/route-based-session-configuration-bundle "1.1.*"

```

Development version:

```
composer require phpmentors/route-based-session-configuration-bundle "~1.2@dev"

```

Second, add `PHPMentorsRouteBasedSessionConfigurationBundle` into your bundles to register in `AppKernel::registerBundles()` as the following:

```
...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new PHPMentors\RouteBasedSessionConfigurationBundle\PHPMentorsRouteBasedSessionConfigurationBundle(),
        );
        ...
```

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

[](#configuration)

```
# app/config/routing.yml
# ...
customer:
    # set session.* ini variables without leading "session."
    # see "Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::setOptions()" for available options
    options:
        session:
            name: CUSTOMER_SESSION
            # ...
```

Support
-------

[](#support)

If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on [Issues](https://github.com/phpmentors-jp/route-based-session-configuration-bundle/issues).

Copyright
---------

[](#copyright)

Copyright (c) 2016-2017, 2019 KUBO Atsuhiro, All rights reserved.

License
-------

[](#license)

[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

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

Total

3

Last Release

2486d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52985?v=4)[Atsuhiro Kubo](/maintainers/iteman)[@iteman](https://github.com/iteman)

---

Top Contributors

[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (21 commits)")

---

Tags

symfonyroutingsession

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phpmentors-route-based-session-configuration-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/phpmentors-route-based-session-configuration-bundle/health.svg)](https://phpackages.com/packages/phpmentors-route-based-session-configuration-bundle)
```

###  Alternatives

[babdev/pagerfanta-bundle

Bundle integrating Pagerfanta with Symfony

20617.4M57](/packages/babdev-pagerfanta-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2734.8M10](/packages/pentatrion-vite-bundle)[apy/datagrid-bundle

Symfony Datagrid Bundle

492991.8k9](/packages/apy-datagrid-bundle)[craue/config-bundle

Database-stored settings made available via a service for your Symfony project.

1761.0M3](/packages/craue-config-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6041.6k1](/packages/spomky-labs-pwa-bundle)[alsatian/form-bundle

Symfony form types to extend built-in types. Ideal for Select2 AJAX implementations.

1422.9k](/packages/alsatian-form-bundle)

PHPackages © 2026

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