# PsySH

> Interactive shell, runtime console and debugger for PHP

Source: https://talira.ai/catalog/psysh-1n4q4x08
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / repl](https://talira.ai/categories/developer-tools/repl), [developer tools / debugging](https://talira.ai/categories/developer-tools/debugging), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Justin Hileman](https://talira.ai/orgs/bobthecow.md)

PsySH is a REPL, runtime developer console and interactive debugger for PHP. Run it on its own to try code, or drop it into an application to stop at a point and inspect the variables in scope. It has built-in commands, an optional offline copy of the PHP manual, magic variables, history, system shell integration, themes and a config file. Many frameworks build their consoles on it, including Laravel's artisan tinker, Drush for Drupal, WP-CLI's shell, CakePHP's console and Yii's shell. Install it as a phar from psysh.org, with Composer (psy/psysh) or with Homebrew.

## Links

- Website: https://psysh.org
- GitHub: https://github.com/bobthecow/psysh
- Docs: https://github.com/bobthecow/psysh/wiki

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/psysh>[^1]

## Problems it solves

- try a bit of PHP interactively without writing a script file
- drop into a console in the middle of my PHP code to inspect variables
- an interactive shell for my PHP framework's models

## Features

- interactive PHP REPL
- breakpoint-style console inside a running app
- built-in commands and an optional offline PHP manual
- magic variables and history
- themes and config file
- used by Laravel Tinker, Drush and WP-CLI shell

## Trust

Overall: 0.64 out of 1.
Signals: maintenance 0.85, adoption 0.80, momentum 0.53, community 0.81, backing 0.30, extensibility 0.00.

- last commit 35 days ago
- 93 commits in the last 90 days
- latest release v0.12.24 5 months ago
- 9.8k GitHub stars
- 104 contributors
- 8 Homebrew installs in 30 days
- backed by Justin Hileman

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 28 Nov 2026)
[^2]: https://github.com/bobthecow/psysh/blob/main/LICENSE (checked 28 Nov 2026)
