TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
Redis module for Kohana3.2
  • Hello guys, I made a redis module for Kohana3.2. Hope helpful for others.

    fork: https://github.com/JeremyWei/koredis

  • Nice work, Jeremy.

    I made something quite similar. One thing that I created in mine is a __call( ) magic method, that passes Redis calls to the internal Redis instance. It looks like in your example code, you are returning the Redis instance directly. In my version I return the class with some extra stuff available which is not built into PHPRedis extension. Everything else is handled by __call( ) method.

  • yes, I just want make the module simple and phpredis extension is so powerful.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion