2017 © Pedro Peláez
 

lithium-library li3_redis

redis made ready for lithium

image

bruensicke/li3_redis

redis made ready for lithium

  • Tuesday, August 2, 2016
  • by d1rk
  • Repository
  • 1 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

li3_redis

redis made ready for lithium, (*1)

Requirements

You need the phpredis PHP extension, which can be found here:, (*2)

https://github.com/nicolasff/phpredis, (*3)

An easy way to install it could be this:, (*4)

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:, (*5)

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:, (*6)

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., (*7)

  • 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, (*8)

License

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

The Versions

02/08 2016

dev-master

9999999-dev https://github.com/bruensicke/li3_redis/blob/master/README.md

redis made ready for lithium

  Sources   Download

BSD-3-Clause

The Requires

 

database redis storage stats datasource lithium li3 leaderboards