Skip to content

xp-forge/redis-sessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Sessions

Build status on GitHub XP Framework Module BSD Licence Requires PHP 7.0+ Supports PHP 8.0+ Latest Stable Version

Redis-based sessions implementation.

Example

use web\session\{Sessions, InRedis};

$inject->bind(Sessions::class, new InRedis('redis://localhost'));

To use authentication, pass it as username in the connection string, e.g. redis://secret@localhost.