phpty/screen-test

Drive a program through a pty and assert on the screen it renders. Framework-agnostic, with an optional PHPUnit assertion trait.

Maintainers

Package info

github.com/phpty-org/screen-test

pkg:composer/phpty/screen-test

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 1

Stars: 0

v0.2.0 2026-07-19 02:32 UTC

This package is auto-updated.

Last update: 2026-07-19 02:34:18 UTC


README

Drive a program through a pty and assert on the screen it renders.

Read-only mirror. The canonical development repository is phpty-org/phpty, a monorepo. This phpty/screen-test repository is split out from it for distribution and is read-only: issues and pull requests are disabled, and any pull request opened here is closed automatically. Please contribute upstream.

Install

composer require phpty/screen-test

Requirements

  • PHP ^7.4 || ^8.0, with the ffi, mbstring, pcntl and posix extensions
  • A Unix host, and libghostty-vt (via phpty/vterm) as for VTerm above

License

MPL-2.0. See LICENSE and, for how licensing works across PhPty, the monorepo's LICENSE.