scientist

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

Github星跟踪图

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.

主要指标

概览
名称与所有者daylerees/scientist
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2016-02-05 02:16:37
推送于2023-12-20 22:03:38
最后一次提交2023-02-03 13:32:04
发布数7
最新版本名称2.1.2 (发布于 )
第一版名称0.1.0-alpha (发布于 )
用户参与
星数782
关注者数33
派生数44
提交数82
已启用问题?
问题数7
打开的问题数0
拉请求数17
打开的拉请求数1
关闭的拉请求数13
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?