PHPackages                             tixelrocks/abtest - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tixelrocks/abtest

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tixelrocks/abtest
=================

A very simple A/B testing implementation for Laravel

0.8(10mo ago)06.7kMITPHPPHP &gt;=7.0

Since Jan 14Pushed 10mo ago8 watchersCompare

[ Source](https://github.com/TixelRocks/abtest)[ Packagist](https://packagist.org/packages/tixelrocks/abtest)[ Docs](https://github.com/TixelRocks/abtest)[ RSS](/packages/tixelrocks-abtest/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (12)Used By (0)

Simple A/B testing
------------------

[](#simple-ab-testing)

[![Total Downloads](https://camo.githubusercontent.com/41075d1bbc090e49977f52838e54e65a5753a415c8282639c2d16ceff4350c8f/68747470733a2f2f706f7365722e707567782e6f72672f746978656c726f636b732f6162746573742f642f746f74616c2e737667)](https://packagist.org/packages/dusterio/link-preview)[![Latest Stable Version](https://camo.githubusercontent.com/1f9ce3b778c7b1e819c3132a417198979960f05ec696d77d65cfa4a18220b402/68747470733a2f2f706f7365722e707567782e6f72672f746978656c726f636b732f6162746573742f762f737461626c652e737667)](https://packagist.org/packages/dusterio/link-preview)[![Latest Unstable Version](https://camo.githubusercontent.com/13edf6a023adec31886a540bda147a6c128e2ad3d48c5ae4bd7fe32c8b93e8c9/68747470733a2f2f706f7365722e707567782e6f72672f746978656c726f636b732f6162746573742f762f756e737461626c652e737667)](https://packagist.org/packages/dusterio/link-preview)[![License](https://camo.githubusercontent.com/e975e29249345fb8b41abd70b61004a20a36468bf298002ea61d11f93942b259/68747470733a2f2f706f7365722e707567782e6f72672f746978656c726f636b732f6162746573742f6c6963656e73652e737667)](https://packagist.org/packages/dusterio/link-preview)

A very simple web A/B testing package for Laravel

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

[](#installation)

You can use Composer to install this package easily:

```
$ composer require tixelrocks/abtest
```

Configuration
-------------

[](#configuration)

Configure your A/B experiments in `config/ab.php` file (not provided by default). Let's say we have a button somewhere on our website and we want to see what's a better call to action (text inside the button) - "Continue" or "Finish":

```
