Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Implements a powerful analytics Symfony Bundle based on Bitter library using Redis bitmaps
PHP
branch: tests

This branch is 23 commits behind rezzza:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Bitter
DependencyInjection
Resources/config
Tests/Units/DependencyInjection
.gitignore
.travis.yml
LICENSE
README.rst
RezzzaBitterBundle.php
composer.json

README.rst

BitterBundle Documentation

https://secure.travis-ci.org/rezzza/BitterBundle.png?branch=master

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
Something went wrong with that request. Please try again.