Download Latest Version PsySH v0.12.18 source code.tar.gz (241.9 kB)
Email in envelope

Get an email when there's a new version of PsySH

Home / v0.12.15
Name Modified Size InfoDownloads / Week
Parent folder
psysh-v0.12.15.tar.gz 2025-11-28 2.3 MB
PsySH v0.12.15 source code.tar.gz 2025-11-28 234.9 kB
PsySH v0.12.15 source code.zip 2025-11-28 419.2 kB
README.md 2025-11-28 1.8 kB
Totals: 4 Items   3.0 MB 0

Abbreviated output reverted

The abbreviated return value output introduced in v0.12.13 has been reverted. This feature attempted to show shorter output for statements that looked like they were trying to take an action (like assignments and method calls with side effects) while preserving full output for inspection-like statements. Unfortunately, this version of the feature just ... wasn't it.

Thanks to everyone who provided feedback. If you've got thoughts on approaches that could make this better, please share them in [#512]!

In-shell manual updates

You can now update the PHP manual directly from inside the shell! Run doc --update-manual to fetch the latest manual version.

More robust manual handling

  • Log a warning (and continue) when trying to read from an invalid manual file
  • Show invalid manual info in --info and \Psy\info()
  • Prompt to clean up invalid manual files when running --update-manual
  • Prompt to upgrade to v3 manual (preserving language selection!) when running --update-manual with an existing sqlite manual
  • Preserve legacy manuals when updating to v3, supporting systems with multiple PsySH versions installed

Bug fixes

  • Fix namespace and use statement edge cases where aliases weren't properly tracked across REPL inputs
  • Fix history command filtering and --head/--tail interaction to apply filters first
  • Fix E_STRICT warning in PHP 8.4
  • Fix ParseCommand parsing (you had one job ಠ_ಠ)

Other improvements

  • Add a hint about doc foo when help foo doesn't match a known command
  • Don't call deprecated curl_close() on PHP >= 8.0.0 (thanks @mpesari!)
  • Lock phar build dependencies for reproducible builds
  • Improve PHP 8.5 support
  • Improve test coverage
Source: README.md, updated 2025-11-28