bazilio/yii2-bandit

Yii2 A/B testing tool

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 1

Type:yii2-extension

0.0.1 2015-09-08 22:40 UTC

This package is auto-updated.

Last update: 2024-05-06 16:32:17 UTC


README

Build Status

This extension provides code to A/B test your views.

Supported strategies:

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist bazilio/yii2-bandit

or add

"bazilio/yii2-bandit": "*"

to the require section of your composer.json.

Requirements

Configuration

'components' => [
    'redis' => [
        'class' => 'yii\redis\Connection',
        'hostname' => 'localhost',
        'port' => 6379,
        'database' => 0,
    ],
    'bandit' => [
        'class' => 'bazilio\yii2\bandit\BanditComponent',
        'connection' => 'redis'
    ]
]