bruensicke/li3_redis

redis made ready for lithium

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 2

Open Issues: 0

Type:lithium-library

dev-master 2016-08-02 11:29 UTC

This package is not auto-updated.

Last update: 2024-04-27 12:07:31 UTC


README

68747470733a2f2f7472617669732d63692e6f72672f627275656e7369636b652f6c69335f72656469732e706e673f6272616e63683d6d6173746572

redis made ready for lithium

Requirements

You need the phpredis PHP extension, which can be found here:

https://github.com/nicolasff/phpredis

An easy way to install it could be this:

git clone git://github.com/nicolasff/phpredis.git
cd phpredis
phpize
./configure
make
sudo -s make install
sudo -s
echo "extension=redis.so" > /etc/php5/conf.d/redis.ini
exit
sudo service apache2 restart

Installation

Add a submodule to your li3 libraries:

git submodule add git@github.com:bruensicke/li3_redis.git libraries/li3_redis

and activate it in you app (config/bootstrap/libraries.php), of course:

Libraries::add('li3_redis');

Todos

i want to address the following topics. If you need something or can share something of value, please get in touch with me.

  • create redis datasource (done)
  • use Connection class to define connections (done)
  • fix failing unit-tests (done)
  • convert leaderboard class to use lithium standards _init() etc. (partly done)
  • use Redis class as utility class for Leaderboard (done)
  • auto-add/remove namespace formats to include environments or other variables in keys (done)
  • add stats class (done)
  • add stats command
  • add points / score class
  • add user messaging system
  • add basic queue system that may also go into li3_queue or li3_resque

Credits

Please report any bug or feature-request here: https://github.com/bruensicke/li3_redis/issues

License

This code is distributed under the terms of the BSD 3-Clause License, http://opensource.org/licenses/BSD-3-Clause