mauro-moreno/silex-scientist

Scientist wrapper for the Silex framework.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mauro-moreno/silex-scientist

0.1.1@alpha 2016-02-06 02:56 UTC

This package is auto-updated.

Last update: 2025-09-29 01:27:54 UTC


README

Scientist wrapper for the Silex framework

Installation

Require the latest version of Scientist Laravel using Composer.

composer require mauro-moreno/silex-scientist

Enable Service Provider

<?php
$app = new Silex\Application;
$app->register(new MauroMoreno\JsonApi\JsonApiServiceProvider);

Usage

<?php
$app['scientist']->experiment('foo')
    ->control($controlCallback)
    ->trial('First trial.', $trialCallback)
    ->run();