Predis is a flexible and feature-complete PHP client library for Redis.
This is a maintenance release for the 0.7 series. What follows is an overview of the new features introduced in this new release. For a more in-depth list of changes please see the CHANGELOG.
New features and changes
New commands in the Redis 2.6 server profile
Two new commands have been added to Redis 2.6: BITOP
and BITCOUNT
.
Scripting abstraction improvements
It is now possible to use negative numbers in the getKeysCount()
method to tell Predis\Commands\ScriptedCommand
to calculate the actual number of keys used to populate the KEYS
array for EVAL
starting from the end of the arguments list. You can read this comment for a description of a use case.
We also fixed a bug in Predis\Commands\ServerEvalSHA::getScriptHash()
.
Additional notes
Downloads
Related projects
- SncRedisBundle for Symfony2.
- PredisServiceProvider for Silex.