PHPackages                             d11wtq/boris - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. d11wtq/boris

ActiveLibrary[CLI &amp; Console](/categories/cli)

d11wtq/boris
============

A tiny, but robust REPL (Read-Evaluate-Print-Loop) for PHP.

v1.0.10(11y ago)2.1k12.2M—0.4%115[22 issues](https://github.com/borisrepl/boris/issues)[3 PRs](https://github.com/borisrepl/boris/pulls)20MITPHPPHP &gt;=5.3.0

Since Jun 3Pushed 4y ago58 watchersCompare

[ Source](https://github.com/borisrepl/boris)[ Packagist](https://packagist.org/packages/d11wtq/boris)[ RSS](/packages/d11wtq-boris/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (11)Used By (20)

Boris
=====

[](#boris)

A tiny, but robust REPL for PHP.

[![Code Climate](https://camo.githubusercontent.com/3d0cfaec32fb3698c8e0eb0ef9291d2481d22883ea22a2dfc4cb942eff0c30af/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f626f7269737265706c2f626f7269732f6261646765732f6770612e737667)](https://codeclimate.com/github/borisrepl/boris)[![Build Status](https://camo.githubusercontent.com/33a868e80646c7c2b27812e15dd706feba9121f28276fd6cc091cafb937dd7c2/68747470733a2f2f7472617669732d63692e6f72672f626f7269737265706c2f626f7269732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/borisrepl/boris)

> **Announcement:** I'm looking to add one or two additional collaborators with commit access. If you are actively involved in open source and have a GitHub profile for review, ping me on Twitter (@d11wtq) to express your interest. Experienced developers with active GitHub projects only.

[![Demo](https://camo.githubusercontent.com/c0562c06d622822b0567bf9ef901e40293baa05311144baa67078e9e24d98131/687474703a2f2f646c2e64726f70626f782e636f6d2f752f3530383630372f426f72697344656d6f2d76342e676966 "Quick Demo")](https://camo.githubusercontent.com/c0562c06d622822b0567bf9ef901e40293baa05311144baa67078e9e24d98131/687474703a2f2f646c2e64726f70626f782e636f6d2f752f3530383630372f426f72697344656d6f2d76342e676966)

Python has one. Ruby has one. Clojure has one. Now PHP has one, too. Boris is PHP's missing REPL (read-eval-print loop), allowing developers to experiment with PHP code in the terminal in an interactive manner. If you make a mistake, it doesn't matter, Boris will report the error and stand to attention for further input.

Everything you enter into Boris is evaluated and the result inspected so you can understand what is happening. State is maintained between inputs, allowing you to gradually build up a solution to a problem.

> **Note:** The PCNTL function which is required to run Boris is not available on Windows platforms.

Why?
----

[](#why)

I'm in the process of transitioning away from PHP to Ruby. I have come to find PHP's lack of a real REPL to be frustrating and was not able to find an existing implementation that was complete. Boris weighs in at a few hundred lines of fairly straightforward code.

Usage
-----

[](#usage)

Check out our wonderful [wiki](https://github.com/borisrepl/boris/wiki) for usage instructions.

Contributing
------------

[](#contributing)

We're committed to a loosely-coupled architecture for Boris and would love to get your contributions.

Before jumping in, check out our **[Contributing](https://github.com/borisrepl/boris/blob/master/CONTRIBUTING.md) [contributing](https://github.com/borisrepl/boris/blob/master/CONTRIBUTING.md)** page on the wiki!

Contributing
------------

[](#contributing-1)

We're using [PHPUnit](https://phpunit.de/) for testing. To run all the tests,

```
phpunit --bootstrap tests/autoload.php -c tests.xml

```

Core Team
---------

[](#core-team)

This module was originally developed by [Chris Corbyn](https://github.com/d11wtq), and is now maintained by [Tejas Manohar](https://github.com/tejasmanohar), [Dennis Hotson](https://github.com/dhotson), and [other wonderful contributors](https://github.com/borisrepl/boris/graphs/contributors).

Copyright &amp; Licensing
-------------------------

[](#copyright--licensing)

See the [LICENSE](https://github.com/borisrepl/boris/blob/master/LICENSE) file for details.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity71

Solid adoption and visibility

Community50

Growing community involvement

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Recently: every ~117 days

Total

10

Last Release

4097d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21532?v=4)[Dennis Hotson](/maintainers/dhotson)[@dhotson](https://github.com/dhotson)

![](https://www.gravatar.com/avatar/c10a0f6659c8a4c2702f957b4a0b48e2852f532d42df460269e2ffda3c024c08?d=identicon)[d11wtq](/maintainers/d11wtq)

![](https://www.gravatar.com/avatar/c65a4f4d554a91944b3bb9a46e727eb948b42cae33ebf7d8651fee7152f1583f?d=identicon)[tejasmanohar](/maintainers/tejasmanohar)

---

Top Contributors

[![d11wtq](https://avatars.githubusercontent.com/u/37948?v=4)](https://github.com/d11wtq "d11wtq (119 commits)")[![tejasmanohar](https://avatars.githubusercontent.com/u/5959235?v=4)](https://github.com/tejasmanohar "tejasmanohar (46 commits)")[![wogsland](https://avatars.githubusercontent.com/u/3073735?v=4)](https://github.com/wogsland "wogsland (26 commits)")[![filp](https://avatars.githubusercontent.com/u/382538?v=4)](https://github.com/filp "filp (15 commits)")[![CHH](https://avatars.githubusercontent.com/u/16783?v=4)](https://github.com/CHH "CHH (4 commits)")[![irongaze](https://avatars.githubusercontent.com/u/1086959?v=4)](https://github.com/irongaze "irongaze (3 commits)")[![tobiassjosten](https://avatars.githubusercontent.com/u/65159?v=4)](https://github.com/tobiassjosten "tobiassjosten (3 commits)")[![donatj](https://avatars.githubusercontent.com/u/133747?v=4)](https://github.com/donatj "donatj (2 commits)")[![MattKetmo](https://avatars.githubusercontent.com/u/334996?v=4)](https://github.com/MattKetmo "MattKetmo (2 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (2 commits)")[![rogeriopradoj](https://avatars.githubusercontent.com/u/443391?v=4)](https://github.com/rogeriopradoj "rogeriopradoj (1 commits)")[![scribu](https://avatars.githubusercontent.com/u/225715?v=4)](https://github.com/scribu "scribu (1 commits)")[![simonmichael](https://avatars.githubusercontent.com/u/10144?v=4)](https://github.com/simonmichael "simonmichael (1 commits)")[![siwinski](https://avatars.githubusercontent.com/u/1034024?v=4)](https://github.com/siwinski "siwinski (1 commits)")[![SlKelevro](https://avatars.githubusercontent.com/u/1048528?v=4)](https://github.com/SlKelevro "SlKelevro (1 commits)")[![sserbin](https://avatars.githubusercontent.com/u/1689792?v=4)](https://github.com/sserbin "sserbin (1 commits)")[![adamquaile](https://avatars.githubusercontent.com/u/69929?v=4)](https://github.com/adamquaile "adamquaile (1 commits)")[![zQueal](https://avatars.githubusercontent.com/u/239193?v=4)](https://github.com/zQueal "zQueal (1 commits)")[![aleksandrbogdanov](https://avatars.githubusercontent.com/u/10163904?v=4)](https://github.com/aleksandrbogdanov "aleksandrbogdanov (1 commits)")[![desarrolla2](https://avatars.githubusercontent.com/u/661529?v=4)](https://github.com/desarrolla2 "desarrolla2 (1 commits)")

### Embed Badge

![Health badge](/badges/d11wtq-boris/health.svg)

```
[![Health](https://phpackages.com/badges/d11wtq-boris/health.svg)](https://phpackages.com/packages/d11wtq-boris)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
