PHPackages                             phpty/screen-test - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. phpty/screen-test

ActiveLibrary[Testing &amp; Quality](/categories/testing)

phpty/screen-test
=================

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

v0.2.0(1mo ago)02↓66.7%MPL-2.0PHPPHP ^7.4 || ^8.0

Since Jul 18Pushed 1mo agoCompare

[ Source](https://github.com/phpty-org/screen-test)[ Packagist](https://packagist.org/packages/phpty/screen-test)[ RSS](/packages/phpty-screen-test/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

phpty/screen-test
=================

[](#phptyscreen-test)

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

> **Read-only mirror.** The canonical development repository is [phpty-org/phpty](https://github.com/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
-------

[](#install)

```
composer require phpty/screen-test
```

Requirements
------------

[](#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
-------

[](#license)

MPL-2.0. See [LICENSE](LICENSE) and, for how licensing works across PhPty, [the monorepo's LICENSE](https://github.com/phpty-org/phpty/blob/main/LICENSE).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1cc4bc1729b858086681a12494fda6cced8f26db3d0928ae4d81c68ddf8dc06?d=identicon)[zonuexe](/maintainers/zonuexe)

---

Top Contributors

[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (4 commits)")

---

Tags

testingphpunitterminalscreenpty

### Embed Badge

![Health badge](/badges/phpty-screen-test/health.svg)

```
[![Health](https://phpackages.com/badges/phpty-screen-test/health.svg)](https://phpackages.com/packages/phpty-screen-test)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.6k988.1M171.2k](/packages/phpunit-phpunit)[brianium/paratest

Parallel testing for PHP

2.5k150.2M1.2k](/packages/brianium-paratest)[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k9.1M418](/packages/codedungeon-phpunit-result-printer)[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

57731.2M711](/packages/dg-bypass-finals)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69821.1M710](/packages/spatie-phpunit-snapshot-assertions)[phpunit/phpunit-selenium

Selenium Server integration for PHPUnit

59611.2M172](/packages/phpunit-phpunit-selenium)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
