Skip to content
CAI
Produce a survey ↗Verify a survey

bobthecow/psysh

This system is an interactive PHP REPL (PsySH) that provides a modernized command-line interface with advanced readline support, syntax highlighting, and auto-completion. It features a modular architecture for code analysis, formatting, and output rendering, while also supporting self-updates and manual documentation browsing. The codebase has been refactored to replace legacy components with a structured, extensible design for handling user input, execution loops, and variable inspection.

50.8

Adequate · 2 August 2026

57k

lines of production code

PHP

primary language

1

bus factor · 101 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2012–2018 · REPL architecture modernization

This period focused on a comprehensive modernization of the PsySH codebase, replacing legacy bootstrap, command, and formatting systems with modular, AST-based components. Key developments included a complete refactor of the tab completion engine, the introduction of interactive readline support, and the addition of self-update capabilities. The work was heavily supported by extensive test coverage for the new utility, reflection, and cleaner pass classes.

41 changes

2019–2026 · Interactive readline and completion engine

This period focused on replacing the legacy line editor with a new interactive readline subsystem featuring history search, auto-indentation, and widget-based rendering. Simultaneously, the codebase introduced a unified, fuzzy-matching completion engine and expanded test coverage across these new interactive and completion features.

36 changes

CAI lens gauges

Survey your own repository

bobthecow/psysh was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit cd98f04e0e — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards