bazilio/yii2-bandit

Yii2 A/B testing tool

Installs: N/A

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: 2021-05-06 10:18:45 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'
    ]
]