PHPackages                             stfalcon-studio/ab-test-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. stfalcon-studio/ab-test-bundle

ActiveSymfony-bundle

stfalcon-studio/ab-test-bundle
==============================

Symfony AtfalconAbTestBundle

44PHP

Since Feb 3Pushed 11y ago12 watchersCompare

[ Source](https://github.com/stfalcon-studio/AbTestBundle)[ Packagist](https://packagist.org/packages/stfalcon-studio/ab-test-bundle)[ RSS](/packages/stfalcon-studio-ab-test-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Getting Started With StfalconAbTestBundle
=========================================

[](#getting-started-with-stfalconabtestbundle)

Simple small bundle for add Google analytics A/B test code on site pages

Prerequisites
-------------

[](#prerequisites)

This version of the bundle requires:

1. PHP &gt;= 5.3.2
2. Symfony &gt;= 2.1
3. SonataAdminBundle &gt;=2.1

Installation
------------

[](#installation)

Installation is a quick 4 step process:

1. Add StfalconAbTestBundle in your composer.json
2. Enable the StfalconAbTestBundle
3. Import StfalconAbTestBundle routing and update your config file
4. Update your database schema

### Step 1: Add StfalconAbTestBundle in your composer.json

[](#step-1-add-stfalconabtestbundle-in-your-composerjson)

```
{
    "require": {
        "stfalcon-studio/ab-test-bundle": "*"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update stfalcon-studio/ab-test-bundle
```

Composer will install the bundle to your project's `vendor/stfalcon` directory.

### Step 2: Enable the StfalconAbTestBundle and requiremented bundles

[](#step-2-enable-the-stfalconabtestbundle-and-requiremented-bundles)

Finally, enable the bundle in the kernel:

```
