Skip to content

marko-php/marko-session-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marko/session-database

Database session driver — stores session data in a SQL table for shared access across multiple application servers.

Installation

composer require marko/session-database

Requires marko/database for the database connection.

Quick Example

use Marko\Session\Contracts\SessionHandlerInterface;
use Marko\Session\Database\Handler\DatabaseSessionHandler;

return [
    'bindings' => [
        SessionHandlerInterface::class => DatabaseSessionHandler::class,
    ],
];

Documentation

Full usage, API reference, and examples: marko/session-database

About

[READ-ONLY] Database session driver for Marko Framework. Issues and PRs at https://github.com/marko-php/marko

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages