smart-core/session-bundle

There is no license information available for the latest version (dev-master) of this package.

Doctrine ORM Session Storage Handler

Maintainers

👁 artemdigi

Package info

github.com/Smart-Core/SessionBundle

Homepage

Type:symfony-bundle

pkg:composer/smart-core/session-bundle

Statistics

Installs: 633

Dependents: 2

Suggesters: 0

Stars: 2

Open Issues: 0

dev-master 2017-11-02 04:12 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unknown License 548c9615b8892fc805c625248f4a6f27e334b027

session

This package is auto-updated.

Last update: 2026-06-29 00:58:18 UTC


README

Doctrine ORM Session Storage Handler

Из особенностей, бандл хранит поле user_id, что позволяет получать список пользователей online.

Installation

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
 $bundles = array(
 // ...
 new SmartCore\Bundle\SessionBundle\SmartCoreSessionBundle(),
 );
}

Enable handler_id:

# app/config/config.yml

framework:
 session:
 handler_id: smart_core_session.handler

@todo

  • Конфигурирование автоподключения, например:

    # app/config/config.yml
    
    smart_core_session:
     autoconfigure: true

    В этом случае, будет автоматически применяется handler_id в конфигурации framework бандла.