| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This bundle provides a Doctrine session handler to save sessions in a database.
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-bundleAdd 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 --forceNow 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\DoctrineHandlerDone ;)
| Back | FazBrowse Home | New Git URL |