# bobthecow/psysh

A REPL for PHP

Repository: https://github.com/bobthecow/psysh
Canonical: https://ross.abutalabs.com/products/psysh
Homepage: https://psysh.org
Language: PHP
License: MIT
License Family: permissive
Topics: psysh, php, repl, cli, shell
Last push: 2026-08-26T13:28:51+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 90, longevity 100
- inputs: {"age_days": 5203, "days_push": 7, "days_rel": 65, "gap_med": 19.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9831, forks 319 (observed 2026-08-28T04:10:37.412743+00:00)

## What it is
PsySH is a runtime developer console, interactive debugger, and REPL for PHP. It provides an interactive shell with tab completion, inline documentation, source inspection, and can be dropped into code as a debugger via eval(\Psy\sh()).

## Use cases
- interactive php repl
- debug php code interactively
- inspect php classes and objects from a shell
- look up php function documentation from the terminal
- drop a breakpoint into php code to explore state
- test php snippets without writing a script

## When to choose
- you want to experiment with PHP code interactively
- you need an inline debugger in a PHP application
- you want quick introspection of classes, functions, and variables
- you use frameworks like Laravel, Drupal, or WordPress that build on it

## When to avoid
- you need a full IDE debugger with step-through and breakpoints UI
- you are working in a language other than PHP
- you need automated testing rather than interactive exploration

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, interpreter, documentation
- domain: developer-tools, programming-languages
- platform: cli, php, cross-platform, windows
- tags: repl, interactive-debugger, php-shell, introspection, tinker, command-line, macos, linux

## Member repositories
- bobthecow/psysh (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:37.412743+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:20:55.890625+00:00, confidence not recorded.
  - readme: https://github.com/bobthecow/psysh (fetched 2026-08-28T04:10:37.412743+00:00, sha d6e31c0c2a58)
  - homepage: https://psysh.org (fetched 2026-08-29T08:20:23.387806+00:00, sha 66c0a8ec6a6a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
