A simple activity feed handler using Predis which stores/pushes JSON objects to friends/followers, can even be used for simple notifications. Using this for personal projects not ment to be used for production stuff.
The recommended way to install is through composer.
Just create a composer.json file for your project:
{
"minimum-stability" : "dev",
"require": {
"tyler-king/activity": "dev-master"
}
}
And run these two commands to install it:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install
- Redis Server (RDB or AOF)
- PHP 5.4.x
- Predis Library
See examples/
for code usage.