PHP code example of reallyli / laravel-ab-test

1. Go to this page and download the library: Download reallyli/laravel-ab-test library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

reallyli / laravel-ab-test example snippets


AB::pageview()

AB::interact()

AB::complete($goal)

AB::getExperiments()

AB::getGoals()

AB::hasExperiments()

AB::currentExperiment()