Download the PHP package initphp/redis without Composer
On this page you can find all versions of the php package initphp/redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download initphp/redis
More information about initphp/redis
Files in initphp/redis
Package redis
Short Description InitPHP Redis Management (DEPRECATED — use the ext-redis extension directly, or initphp/cache / initphp/sessions for higher-level needs)
License MIT
Informations about the package redis
InitPHP Redis Management
⚠️ DEPRECATED — No Longer Maintained
This package was a thin convenience wrapper around the PHP
ext-redisextension, adding prefix handling and automaticserialize()of values. As part of the InitPHP package consolidation, it has been retired:
- PHP 8+ ships
ext-rediswith fully typed methods, so a wrapper adds little over the native API.- The automatic
serialize()adds non-trivial CPU + network overhead and is rarely what callers want today.- No package in the InitPHP ecosystem currently depends on this one. (
initphp/cacheandinitphp/sessionsboth talk to\Redisdirectly.)This repository is kept read-only for historical reference. No further updates will be released.
What to use instead
Pick the closest match to what you were doing:
Caching key/value data — use
initphp/cachewith its bundled Redis handler:Storing session data — use
initphp/sessionswith itsRedisAdapter. See the Sessions README for the Redis usage example.Anything else (Pub/Sub, Lua scripts, Cluster, pipelining, low-level Redis commands) — call
\Redisdirectly. It is the canonical, fully-typed entry point and supports the full Redis feature surface:Composer will surface this package as
abandonedoncomposer require,composer update, andcomposer outdated.
This library was born to facilitate and customize the use of getter and setter of PHP and Redis.
Requirements
- PHP 7.4 or later
- PHP Redis Extension
Installation
Usage
Credits
License
Copyright © 2022 MIT License
All versions of redis with dependencies
ext-redis Version *