2017 © Pedro Peláez
 

library scientist

A PHP experimentation library inspired by Github's own Scientist.

image

daylerees/scientist

A PHP experimentation library inspired by Github's own Scientist.

  • Monday, June 11, 2018
  • by daylerees
  • Repository
  • 29 Watchers
  • 658 Stars
  • 126,194 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 26 Forks
  • 2 Open issues
  • 6 Versions
  • 38 % Grown

The README.md

Scientist, (*1)

Scientist

Build Status Scrutinizer Code Quality Code Coverage Code Climate, (*2)

Packagist Version Packagist, (*3)

A PHP experiment library inspired by Github's own Scientist., (*4)


Introduction

Scientist is an experimentation framework for PHP that will allow you to refactor and improve upon existing code in a live environment, without incurring risk or breakages., (*5)

Simply define an experiment, sit back, and let the results flow in., (*6)

<?php

// We need a Laboratory to do science.
$experiment = (new Scientist\Laboratory)

    // Define an experiment with a name.
    ->experiment('experiment title')

    // Set a callback containing our control code.
    ->control($controlCallback)

    // Set a callback containing our trial code.
    ->trial('trial name', $trialCallback);

// Run the experiment, receiving the control return value.
$value = $experiment->run();

A more detailed description, and full documentation is available., (*7)

User Contributed Resources

Users of scientist contribute a variety of resources to enhance the functionality of the application., (*8)

Journals

Journals allow experiment data to be sent to data stores for later inspection., (*9)

Bridges

Bridges allow for Scientist to be used seamlessly with other frameworks and libraries., (*10)

Matchers

Matchers allow for complex types to be matched., (*11)

Interfaces

Interfaces allow for experiment data to be viewed in a clear way., (*12)

The Versions

11/06 2018

dev-master

9999999-dev

A PHP experimentation library inspired by Github's own Scientist.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

test framework testing experiment scientist dayle

07/04 2018

2.1.0

2.1.0.0

A PHP experimentation library inspired by Github's own Scientist.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

test framework testing experiment scientist dayle

14/03 2018

2.0.0

2.0.0.0

A PHP experimentation library inspired by Github's own Scientist.

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

test framework testing experiment scientist dayle

06/02 2016

1.0.0

1.0.0.0

A PHP experimentation library inspired by Github's own Scientist.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

test framework testing experiment scientist dayle

05/02 2016

0.1.1-alpha

0.1.1.0-alpha

Github's scientist experiment framework for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

test framework testing experiment scientist dayle

04/02 2016

0.1.0-alpha

0.1.0.0-alpha

Github's scientist experiment framework for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

test framework testing experiment scientist dayle