xp-forge / redis-sessions
Redis Sessions
Installs: 300
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/xp-forge/redis-sessions
Requires
- php: >=7.0.0
- xp-forge/redis: ^1.0
- xp-forge/sessions: ^3.0 | ^2.0 | ^1.0
- xp-forge/uri: ^3.0 | ^2.0 | ^1.0
- xp-framework/core: ^12.0 | ^11.0 | ^10.0
- xp-framework/networking: ^10.0 | ^9.0 | ^8.0
Requires (Dev)
- xp-framework/test: ^2.0 | ^1.0
README
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.