定制 daylerees/scientist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

daylerees/scientist

最新稳定版本:2.1.2

Composer 安装命令:

composer require --dev daylerees/scientist

包简介

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

README 文档

README

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.

统计信息

  • 总下载量: 1.17M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 782
  • 点击次数: 1
  • 依赖项目数: 8
  • 推荐数: 0

GitHub 信息

  • Stars: 781
  • Watchers: 33
  • Forks: 44
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-04