2017 © Pedro Peláez
 

library scientist-symfony

Integrates Scientist into Symfony

image

danhanly/scientist-symfony

Integrates Scientist into Symfony

  • Saturday, February 6, 2016
  • by danhanly
  • Repository
  • 0 Watchers
  • 7 Stars
  • 35,387 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 16 % Grown

The README.md

Scientist, (*1)

Scientist for Symfony

Packagist Version Packagist, (*2)

Allow the Scientist library to be used with Symfony., (*3)

Installation

Require the latest version of Scientist Symfony using Composer., (*4)

composer require danhanly/scientist-symfony

Register the bundle in your AppKernel., (*5)

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            ...
            new DanHanly\ScientistBundle\ScientistBundle()
        ];
        ...
    }
}

Usage

You can access Scientist from any Container Aware Class., (*6)

$scientist = $this->container->get('scientist');

From this point, you can use the library as normal within your processes., (*7)


$scientist->experiment('my experiment') ->control($controlCallback) ->trial('trial name', $trialCallback); $value = $experiment->run();

The Versions

06/02 2016

dev-master

9999999-dev

Integrates Scientist into Symfony

  Sources   Download

The Requires

 

The Development Requires

by Dan Hanly

php symfony experiment scientist trial

06/02 2016

1.0.0

1.0.0.0

Integrates Scientist into Symfony

  Sources   Download

The Requires

 

The Development Requires

by Dan Hanly

php symfony experiment scientist trial