bobthecow/psysh

A REPL for PHP

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 15 minutes ago
Added to GitGenius on September 6th, 2026
Created on June 4th, 2012
Open Issues & Pull Requests: 11 (+0)
GitHub issues: Enabled
Number of forks: 319
Total Stargazers: 9,832 (+0)
Total Subscribers: 97 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

PsySH is a REPL for PHP that provides an interactive shell for executing and testing PHP code in real time.

The tool solves the problem of testing PHP snippets and exploring code behavior without creating temporary files or running full applications. It works by accepting PHP expressions and statements at a command prompt, evaluating them immediately, and displaying results. The REPL supports variable inspection, function exploration, and interactive debugging workflows that would otherwise require writing and executing separate scripts.

Developers working on PHP projects should consider PsySH when they need to quickly test code fragments, experiment with library APIs, or debug logic interactively. It suits solo development sessions, educational contexts, and situations where rapid iteration on small pieces of code is valuable. The tool is particularly useful for developers accustomed to REPLs in other languages who want similar functionality in PHP environments.

The project maintains steady activity with regular updates addressing bug fixes and feature improvements. Development shows responsiveness to user-reported issues and maintains compatibility with evolving PHP versions. The codebase receives ongoing refinement to enhance the interactive experience and expand the shell's capabilities.