mauro-moreno / silex-scientist
Scientist wrapper for the Silex framework.
0.1.1@alpha
2016-02-06 02:56 UTC
Requires
- daylerees/scientist: ^0.1.1@alpha
Requires (Dev)
- silex/silex: >=1
This package is auto-updated.
Last update: 2024-10-29 01:12:08 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();