A flexible and feature-complete Redis client for PHP.
Predis v3.0 introduces support for new communication protocol RESP3 and new features based on it.
CLIENT
command (#1337)XGROUP
commands (#1324)XREADGROUP
command (#1327)XAUTOCLAIM
command (#1328)XINFO
commands (#1331)WAITAOF
command (#1357)SHUTDOWN
command (#1359)FUNCTION
command (#1332)PEXPIRE
, PEXPIREAT
and COMMAND
KeyPrefixProcessor
(#1358)Predis v2.2.0 introduces official support for Redis Stack as well as a Relay integration for substantially faster read performance.
FCALL_RO
command (#1191)JSON
, Bloom
, Search
and TimeSeries
module (#1253)ACL SETUSER, GETUSER, DRYRUN
commands (#1193)XTRIM
and XREVRANGE
commands (#1230)fclose()
being called on invalid stream resource (#1199)BitByte
and ExpireOptions
traits skip processing on null values (#1169)@return
annotations (#1265)GETDEL
prefixing (#1306)We'd like to thank all the contributors who worked on this release!
@jessarcher, @nicolas-grekas, @p-jahn, @tillkruss and @vladvildanov
JSON
, Bloom
, Search
and TimeSeries
module (#1253)ACL SETUSER, GETUSER, DRYRUN
commands (#1193)FCALL_RO
command (#1191)XTRIM
and XREVRANGE
commands (#1230)fclose()
being called on invalid stream resource (#1199)BitByte
and ExpireOptions
traits skip processing on null values (#1169)@return
annotations (#1265)We'd like to thank all the contributors who worked on this release!
@jessarcher, @tillkruss and @vladvildanov
KeyPrefixProcessor
(#1051)ReplicationStrategy::$loadBalancing
option to disable replica reads (#1168)FCALL
and FUNCTIONS
commands (#1049)PEXPIRETIME
command (#1031)EXPIRETIME
command (#1029)EVAL_RO
command (#1032)LCS
command (#1035)SORT_RO
command (#1044)SINTERCARD
command (#1027)EVALSHA_RO
command (#1034)BITPOS
and BITCOUNT
commands (#1045)EXPIRE
and EXPIREAT
commands (#1046)GETEX
command (#872)GETDEL
command (#869)COPY
command (#866)FAILOVER
command (#875)LMOVE
command (#863)LMPOP
command (#1013)HRANDFIELD
command (#870)SMISMEMBER
command (#871)ZMPOP
command (#831)BLMOVE
command (#865)BLMPOP
command (#1015)BZMPOP
command (#833)BZPOPMIN
command (#862)BZPOPMAX
command (#864)ZUNION
command (#860)ZINTER
command (#859)ZINTERCARD
command (#861)ZRANGESTORE
command (#829)ZDIFFSTORE
command (#828)ZDIFF
command (#826)ZRANDMEMBER
command (#825)ZMSCORE
(#823)GEOSEARCH
command (#867)GEOSEARCHSTORE
command (#873)is_resource()
before reading/writing