Download the PHP package jeankassio/php-redis-session-manager without Composer
On this page you can find all versions of the php package jeankassio/php-redis-session-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jeankassio/php-redis-session-manager
More information about jeankassio/php-redis-session-manager
Files in jeankassio/php-redis-session-manager
Download jeankassio/php-redis-session-manager
More information about jeankassio/php-redis-session-manager
Files in jeankassio/php-redis-session-manager
Vendor jeankassio
Package php-redis-session-manager
Short Description PHP Session handler with Redis and WebSocket compatibility
License MIT
Package php-redis-session-manager
Short Description PHP Session handler with Redis and WebSocket compatibility
License MIT
Please rate this library. Is it a good library?
Informations about the package php-redis-session-manager
PHP Redis Session Manager
A simple and flexible PHP library for managing sessions using Redis, compatible with both standard HTTP pages and WebSocket servers.
Installation
You can install via Composer:
What is this?
PHP Redis Session Manager allows you to manage PHP sessions directly with Redis, supporting both:
-
Traditional HTTP requests (automatic $_SESSION)
- WebSocket environments (manual control of session read/write/delete)
Usage
For Normal PHP Pages (Non-WebSocket)
For WebSocket Usage
Do not call start() inside WebSocket servers!
PHPUnit
Inside folder:
Edit the file phpunit.xml with your credentials:
run phpunit:
Features
- Password-protected Redis connection (optional)
- Lightweight and compatible with PHP-FPM, CLI, and Swoole/WebSocket
- Stores session as JSON internally
- Supports merging existing session data automatically
Important Notes
- Redis must be running and reachable via the host and port you provide.
- When using inside WebSocket servers, make sure you:
- Extract and set the sessionId before using
- Avoid using session_start() or $_SESSION directly
All versions of php-redis-session-manager with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package jeankassio/php-redis-session-manager contains the following files
Loading the files please wait ...