xp-forge/redis-sessions

v2.1.0 2024-03-24 13:22 UTC

This package is auto-updated.

Last update: 2024-11-05 13:49:16 UTC


README

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.