bobthecow /psysh

A REPL for PHP

★ 9,828⑂ 318👁 92⑃ 478● 487▤ 125
PHPMITCreated 2012-06-04psysh.org
Download: PsySH v0.12.24PsySH-0.12.24 ↓0.12.242026-06-29
+0
Daily
9,828
stars
318
forks
92
watchers
478
prs
487
issues
125
releases

README

PsySH

PsySH is a runtime developer console, interactive debugger and REPL for PHP. Learn more at psysh.org and in the manual.












 PsySH manual

 💾 Installation
  📕 PHP manual
  🤓 Windows

 🖥 Usage
  ✨ Magic variables
  ⏳ Managing history
  💲 System shell integration
  🎥 Tutorials & guides
  🐛 Troubleshooting

 📢 Commands

 🛠 Configuration
  🎛 Config options
  🎨 Themes
  📄 Sample config file

 🔌 Integrations

Top issues

Latest release

PsySH v0.12.24 v0.12.24 2026-06-29
Experimental interactive readline

The pure-PHP experimental readline implementation now has its own built-in pager. Long output opens in an alternate-screen pager with keyboard and mouse scrolling, search, wrap-aware layout, and sensible scrollback behavior after exit.

This is specific to PsySH's experimental userland readline, and it's another reason to give it a try:

bash
psysh --experimental-readline


Or enable it in config:

php
'useExperimentalReadline' = true,


The built-in pager is enabled automatically with experimental readline, or explicitly with 'pager' = true.

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON