We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Redis commands support in Phalcon


I was looking for some extra commands like lists and hashes for Redis cache, since I have found only few methods HERE for Redis. Is it possible to write raw redis commands or something like that, or I should use some external library like phpredis ?


edited Oct '16

You can always extend redis adapter and add method to return _redis instance. Then you will get all methods from extension you posted here.


You can compile phpredis and use it directly in Phalcon or as service without obstacles. Phpredis + Phalcon works well in production more then 2 year

Phalcon is using phpredis extension anyway and it requires it so you have to compile it anyway.


I instaled phpredis and it works perfect. Thanks everyone on sugestions