scientist

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

  • Owner: daylerees/scientist
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Scientist

Scientist

Build Status
Scrutinizer Code Quality
Code Coverage
Code Climate

Packagist Version
Packagist

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


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.

Simply define an experiment, sit back, and let the results flow in.

<?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.

User Contributed Resources

Users of scientist contribute a variety of resources to enhance the functionality of the application.

Journals

Journals allow experiment data to be sent to data stores for later inspection.

Bridges

Bridges allow for Scientist to be used seamlessly with other frameworks and libraries.

Matchers

Matchers allow for complex types to be matched.

Interfaces

Interfaces allow for experiment data to be viewed in a clear way.

Main metrics

Overview
Name With Ownerdaylerees/scientist
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-02-04 18:16:37
Pushed At2023-12-20 14:03:38
Last Commit At2023-02-02 22:32:04
Release Count7
Last Release Name2.1.2 (Posted on )
First Release Name0.1.0-alpha (Posted on )
用户参与
Stargazers Count780
Watchers Count34
Fork Count44
Commits Count82
Has Issues Enabled
Issues Count7
Issue Open Count0
Pull Requests Count17
Pull Requests Open Count1
Pull Requests Close Count13
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private