PHPackages                             psy/psysh - 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. psy/psysh

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

psy/psysh
=========

An interactive shell for modern PHP.

v0.12.22(1mo ago)9.8k545.6M—5.6%316[6 issues](https://github.com/bobthecow/psysh/issues)[6 PRs](https://github.com/bobthecow/psysh/pulls)20MITPHPPHP ^8.0 || ^7.4CI passing

Since Feb 20Pushed today92 watchersCompare

[ Source](https://github.com/bobthecow/psysh)[ Packagist](https://packagist.org/packages/psy/psysh)[ Docs](https://psysh.org)[ RSS](/packages/psy-psysh/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (127)Used By (20)Security (1)

PsySH
=====

[](#psysh)

PsySH is a runtime developer console, interactive debugger and [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) for PHP. Learn more at [psysh.org](http://psysh.org/) and [in the manual](https://github.com/bobthecow/psysh/wiki/Home).

[![Package version](https://camo.githubusercontent.com/455c6e537464f05a274dda68df9ae5f0b39494b999b4d162713a6d4310faeedb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7073792f70737973682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/psy/psysh)[![Monthly downloads](https://camo.githubusercontent.com/051ee89854f07c9455432afaf6b9fc2bf17e76869437c2e76661fc5d7e364f4e/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7073792f70737973682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/psy/psysh)[![Made out of awesome](https://camo.githubusercontent.com/e5bd3160d4bf75255ab6717373f8f6af9ccaec156eac0844b20348aaca944283/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6164655f6f75745f6f665f617765736f6d652d2545322539432539332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://psysh.org)

[![Build status](https://camo.githubusercontent.com/957bd49eabbcad090133eb7e7f6c5116f0c262433ef6afbef344336b9bc49f28/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626f62746865636f772f70737973682f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://github.com/bobthecow/psysh/actions?query=branch:main)[![StyleCI](https://camo.githubusercontent.com/7ea55d60aee1953edc8f579f4c611a7316d29d91d212e55f7583311074c31724/68747470733a2f2f7374796c6563692e696f2f7265706f732f343534393932352f736869656c64)](https://styleci.io/repos/4549925)

[PsySH manual](https://github.com/bobthecow/psysh/wiki/Home)
------------------------------------------------------------

[](#psysh-manual)

### [💾 Installation](https://github.com/bobthecow/psysh/wiki/Installation)

[](#-installation)

- [📕 PHP manual](https://github.com/bobthecow/psysh/wiki/PHP-manual)
- [🤓 Windows](https://github.com/bobthecow/psysh/wiki/Windows)

### [🖥 Usage](https://github.com/bobthecow/psysh/wiki/Usage)

[](#-usage)

- [✨ Magic variables](https://github.com/bobthecow/psysh/wiki/Magic-variables)
- [⏳ Managing history](https://github.com/bobthecow/psysh/wiki/History)
- [💲 System shell integration](https://github.com/bobthecow/psysh/wiki/Shell-integration)
- [🎥 Tutorials &amp; guides](https://github.com/bobthecow/psysh/wiki/Tutorials)
- [🐛 Troubleshooting](https://github.com/bobthecow/psysh/wiki/Troubleshooting)

### [📢 Commands](https://github.com/bobthecow/psysh/wiki/Commands)

[](#-commands)

### [🛠 Configuration](https://github.com/bobthecow/psysh/wiki/Configuration)

[](#-configuration)

- [🎛 Config options](https://github.com/bobthecow/psysh/wiki/Config-options)
- [🎨 Themes](https://github.com/bobthecow/psysh/wiki/Themes)
- [📄 Sample config file](https://github.com/bobthecow/psysh/wiki/Sample-config)

### [🔌 Integrations](https://github.com/bobthecow/psysh/wiki/Integrations)

[](#-integrations)

###  Health Score

82

—

ExcellentBetter than 100% of packages

Maintenance95

Actively maintained with recent releases

Popularity88

Widely adopted with strong download metrics

Community59

Growing community involvement

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 83.6% of commits — single point of failure

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 ~35 days

Recently: every ~13 days

Total

124

Last Release

57d ago

PHP version history (6 changes)v0.1.0PHP &gt;=5.3.0

v0.5.0PHP &gt;=5.3.9

v0.9.0PHP &gt;=5.4.0

v0.10.0PHP ^8.0 || ^7.0 || ^5.5.9

v0.11.0PHP ^8.0 || ^7.0.8

v0.12.0PHP ^8.0 || ^7.4

### Community

Maintainers

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

---

Top Contributors

[![bobthecow](https://avatars.githubusercontent.com/u/53660?v=4)](https://github.com/bobthecow "bobthecow (1974 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (78 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (77 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (52 commits)")[![krageon](https://avatars.githubusercontent.com/u/2675595?v=4)](https://github.com/krageon "krageon (33 commits)")[![nunomaduro](https://avatars.githubusercontent.com/u/5457236?v=4)](https://github.com/nunomaduro "nunomaduro (20 commits)")[![Markcial](https://avatars.githubusercontent.com/u/208523?v=4)](https://github.com/Markcial "Markcial (18 commits)")[![theofidry](https://avatars.githubusercontent.com/u/5175937?v=4)](https://github.com/theofidry "theofidry (17 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (16 commits)")[![damiankloip](https://avatars.githubusercontent.com/u/1053891?v=4)](https://github.com/damiankloip "damiankloip (11 commits)")[![Wirone](https://avatars.githubusercontent.com/u/600668?v=4)](https://github.com/Wirone "Wirone (7 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (6 commits)")[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (5 commits)")[![alexeyshockov](https://avatars.githubusercontent.com/u/203120?v=4)](https://github.com/alexeyshockov "alexeyshockov (5 commits)")[![dennisdegreef](https://avatars.githubusercontent.com/u/361905?v=4)](https://github.com/dennisdegreef "dennisdegreef (4 commits)")[![Taluu](https://avatars.githubusercontent.com/u/239685?v=4)](https://github.com/Taluu "Taluu (4 commits)")[![taoso](https://avatars.githubusercontent.com/u/2030591?v=4)](https://github.com/taoso "taoso (4 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (3 commits)")[![gefd](https://avatars.githubusercontent.com/u/279839?v=4)](https://github.com/gefd "gefd (3 commits)")[![davedevelopment](https://avatars.githubusercontent.com/u/61351?v=4)](https://github.com/davedevelopment "davedevelopment (3 commits)")

---

Tags

cliphppsyshreplshellconsoleREPLshellinteractive

### Embed Badge

![Health badge](/badges/psy-psysh/health.svg)

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

###  Alternatives

[humbug/php-scoper

Prefixes all PHP namespaces in a file or directory.

7963.0M35](/packages/humbug-php-scoper)[seregazhuk/php-watcher

Automatically restart PHP application once the source code changes

394137.8k4](/packages/seregazhuk-php-watcher)[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2591.7M40](/packages/buggregator-trap)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)

PHPackages © 2026

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