smart-core / session-bundle
There is no license information available for the latest version (dev-master) of this package.
Doctrine ORM Session Storage Handler
Package info
github.com/Smart-Core/SessionBundle
Type:symfony-bundle
pkg:composer/smart-core/session-bundle
dev-master
2017-11-02 04:12 UTC
Requires
- php: >=5.3.3
- symfony/framework-bundle: >=2.1
This package is auto-updated.
Last update: 2026-03-01 00:19:34 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 бандла.