Implements a powerful analytics Symfony Bundle based on Bitter library using Redis bitmaps
PHP
Pull request Compare This branch is 25 commits behind rezzza:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Bitter
DependencyInjection
Resources/config
.gitignore
LICENSE
README.rst
RezzzaBitterBundle.php
composer.json

README.rst

BitterBundle Documentation

BitterBundle is a powerful analytics Symfony Bundle based on Bitter library using Redis bitmaps.

Note

Please look at Bitter for more info about what it can do.

Installation

Use Composer to install: rezzza/bitter-bundle.

Bitter uses Redis (version >=2.6).

Note

Every keys created in Redis will be prefixed by bitter_.

Configuration

Using SncRedisBundle redis client:

rezzza_bitter:
    redis_client: snc_redis.default_client

Using custom redis client:

rezzza_bitter:
    redis_client: your.very.best.redis.client

Basic usage

Get Bitter:

$bitter = $this->container->get('rezzza.bitter');

Mark user 404 as active and has been kicked by Chuck Norris:

$bitter->mark('active', 404);
$bitter->mark('kicked_by_chuck_norris', 404);

Note

Please look at Bitter for all examples.

Todo

  • Add dashboard controller.
  • Add tests