PHPackages                             php-win-ext/expect - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-win-ext/expect

ActivePhp-ext[Utility &amp; Helpers](/categories/utility)

php-win-ext/expect
==================

This extension allows to interact with processes through PTY, using expect library.

0.4.1(2mo ago)06[1 PRs](https://github.com/php-win-ext/pecl-expect/pulls)PHP-3.01PHP &gt;= 8.0.0CI passing

Since Feb 27Pushed 2mo agoCompare

[ Source](https://github.com/php-win-ext/pecl-expect)[ Packagist](https://packagist.org/packages/php-win-ext/expect)[ GitHub Sponsors](https://github.com/macintoshplus)[ RSS](/packages/php-win-ext-expect/feed)WikiDiscussions v0.x Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP extension for expect library
================================

[](#php-extension-for-expect-library)

This extension allows to interact with processes through PTY, using expect library.

This extension uses a Tcl/Expect library: .

Original author: Michael Spector

> **Unable to build this extension for Windows because the TCL Expect is not available on Windows.**

Maintained branches:

VersionStatusmasterunmaintened ❌v0.xmaintened ✅Maintained PHP Versions compatibility:

PHP VersionStatus5.xno ❌7.xno ❌8.0yes ✅8.1yes ✅8.2yes ✅8.3yes ✅8.4yes ✅8.5yes ✅Installation system support:

PlatformStatusPECLno ❌PIEyes ✅To install the extension, install the library `tcl-dev tcl-expect-dev` first.

Debian/Ubuntu/Mint:

```
sudo apt-get install tcl-dev tcl-expect-dev
```

Alpine Linux:

```
apk add tcl-dev expect-dev
```

Fedora:

```
sudo dnf install tcl-devel expect-devel
```

Arch Linux:

```
sudo pacman -S tcl expect
```

And use PIE (PHP Installer Extension) with a command like:

```
pie install php-win-ext/expect
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance84

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

2

Last Release

80d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a15c90b32e75c27fc63f79357a914b4caa7af5fdb69a2e150341515ddececf95?d=identicon)[Macintosh\_plus](/maintainers/Macintosh_plus)

---

Top Contributors

[![sibaz](https://avatars.githubusercontent.com/u/2070438?v=4)](https://github.com/sibaz "sibaz (4 commits)")[![macintoshplus](https://avatars.githubusercontent.com/u/814683?v=4)](https://github.com/macintoshplus "macintoshplus (3 commits)")[![eren-pln](https://avatars.githubusercontent.com/u/245192189?v=4)](https://github.com/eren-pln "eren-pln (1 commits)")[![krejcipetr](https://avatars.githubusercontent.com/u/781176?v=4)](https://github.com/krejcipetr "krejcipetr (1 commits)")[![RobWei](https://avatars.githubusercontent.com/u/17345874?v=4)](https://github.com/RobWei "RobWei (1 commits)")

---

Tags

phpphp8pty

### Embed Badge

![Health badge](/badges/php-win-ext-expect/health.svg)

```
[![Health](https://phpackages.com/badges/php-win-ext-expect/health.svg)](https://phpackages.com/packages/php-win-ext-expect)
```

PHPackages © 2026

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