shapecode/doctrine-session-handler-bundle
最新稳定版本:8.0.0
Composer 安装命令:
composer require shapecode/doctrine-session-handler-bundle
包简介
Adds a doctrine session handler to a Symfony project.
README 文档
README
This bundle provides a Doctrine session handler to save sessions in a database.
Install instructions
Installing this bundle can be done through these simple steps:
Add the bundle to your project as a composer dependency:
$ composer require shapecode/doctrine-session-handler-bundle
Add the bundle to your bundles.php:
<?php return [ // ... Shapecode\Bundle\Doctrine\SessionHandlerBundle\ShapecodeDoctrineSessionHandlerBundle::class => ['all' => true], // ... ];
Update your database.
$ php bin/console doctrine:schema:update --force
Now you have to change your application config (default location of app/config/packages/framework.yaml).
framework: session: handler_id: Shapecode\Bundle\Doctrine\SessionHandlerBundle\Session\Handler\DoctrineHandler
Done ;)
统计信息
- 总下载量: 49.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-20