2017 © Pedro Peláez
 

symfony-bundle route-based-session-configuration-bundle

A Symfony bundle for session configuration based on route configuration

image

phpmentors/route-based-session-configuration-bundle

A Symfony bundle for session configuration based on route configuration

  • Thursday, March 2, 2017
  • by iteman
  • Repository
  • 3 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

RouteBasedSessionConfigurationBundle

A Symfony bundle for session configuration based on route configuration, (*1)

Total Downloads Latest Stable Version Latest Unstable Version Build Status, (*2)

Features

  • Runtime session configuration by route configuration

Installation

RouteBasedSessionConfigurationBundle can be installed using Composer., (*3)

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

Stable version:, (*5)

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

Development version:, (*6)

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:, (*7)

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

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

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., (*8)

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

License

The BSD 2-Clause License, (*10)

The Versions

02/03 2017

dev-master

9999999-dev

A Symfony bundle for session configuration based on route configuration

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing session

02/03 2017

1.0.x-dev

1.0.9999999.9999999-dev

A Symfony bundle for session configuration based on route configuration

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing session

02/03 2017

v1.0.0

1.0.0.0

A Symfony bundle for session configuration based on route configuration

  Sources   Download

BSD-2-Clause

The Requires

 

by KUBO Atsuhiro

symfony routing session