Skip to content

shapecode/doctrine-session-handler-bundle

Repository files navigation

Shapecode - Doctrine Session Handler Bundle

paypal

PHP Version Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads License

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 ;)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy