PHPackages                             phpty/pty - 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. phpty/pty

ActiveLibrary

phpty/pty
=========

Create pseudo-terminal pairs and start child processes on them, through FFI.

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

Since Jul 18Pushed 1mo agoCompare

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

READMEChangelogDependenciesVersions (4)Used By (1)

phpty/pty
=========

[](#phptypty)

Create pseudo-terminal pairs and start child processes on them, through FFI.

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

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

[](#requirements)

- PHP `^7.4 || ^8.0`, with the `ffi`, `pcntl` and `posix` extensions
- A Unix host (macOS or Linux)

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

34

—

LowBetter than 74% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community10

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

processffiptypseudo-terminalopenpty

### Embed Badge

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

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

###  Alternatives

[phpunit/php-invoker

Invoke callables with a timeout

1.4k611.2M305](/packages/phpunit-php-invoker)[react/child-process

Event-driven library for executing child processes with ReactPHP.

348102.9M178](/packages/react-child-process)[hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

3.9k701.4k13](/packages/hhxsv5-laravel-s)[cocur/background-process

Start processes in the background that continue running when the PHP process exists.

3062.1M12](/packages/cocur-background-process)[titasgailius/terminal

Terminal is an Elegent wrapper around Symfony's Process component.

513354.6k11](/packages/titasgailius-terminal)[phpmentors/workflower

A BPMN 2.0 workflow engine for PHP

71258.3k4](/packages/phpmentors-workflower)

PHPackages © 2026

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