Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Redis commands support in Phalcon

Hello,

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 ?

Thanks

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.



7.2k
Accepted
answer

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.



9.3k

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