Laravel A/B - Testing

To view your reports locally to your DB, simply run the command

php artisan ab:report

a sample output would be


{
    "hero-text": [
        {
            "condition": "my website",
            "hits": 6,
            "goals": 3,
            "conversion": 50
        },
        {
            "condition": "welcome user",
            "hits": 12,
            "goals": 3,
            "conversion": 25
        }
    ]
}

You can view reports for specific experiments, for example

php artisan ab:report "hero-text"