Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

scientist

> 编程语言
Open source

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

779 stars0 likes0 views
WebsiteGitHub

About

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

Scientist

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

  • PSR-3 / Monolog by Nikko Bautista. - Write experiments to any PSR-3 compatible logger.

Bridges

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

  • Laravel by Dayle Rees - Use Scientist with the Laravel PHP framework.
  • Symfony by Dan Hanly - Use Scientist with the Symfony PHP framework.
  • Silex by Mauro Moreno - Use Scientist with the Silex micro-framework.

Matchers

Matchers allow for complex types to be matched.

  • Utility Matchers by Dan Hanly

Interfaces

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

  • None yet. Would you like to build one?

Issues· 1 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言