PHPackages                             smalot/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. smalot/expect

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smalot/expect
=============

Allows to interact with processes through PTY.

v0.1(11y ago)125MITPHP

Since Mar 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/smalot/expect)[ Packagist](https://packagist.org/packages/smalot/expect)[ RSS](/packages/smalot-expect/feed)WikiDiscussions master Synced today

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

Expect
======

[](#expect)

Use of 'proc\_open' to simulate expect behavior. That's a mix between 'expect' command line tool and the PHP library:

Sample code
===========

[](#sample-code)

```

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4124d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/smalot-expect/health.svg)

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

###  Alternatives

[jcc/laravel-vote

The package helps you to add user based vote system to your model

13650.9k1](/packages/jcc-laravel-vote)

PHPackages © 2026

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