mirror of
https://github.com/php-win-ext/pecl-expect.git
synced 2026-03-23 20:52:07 +01:00
v0.x
PHP extension for expect library
This extension allows to interact with processes through PTY, using expect library.
This extension uses a Tcl/Expect library: https://www.tcl-lang.org/.
Original author: Michael Spector
Unable to build this extension for Windows because the TCL Expect is not available on Windows.
Maintained branches:
| Version | Status |
|---|---|
| master | unmaintened ❌ |
| v0.x | maintened ✅ |
Maintained PHP Versions compatibility:
| PHP Version | Status |
|---|---|
| 5.x | no ❌ |
| 7.x | no ❌ |
| 8.0 | yes ✅ |
| 8.1 | yes ✅ |
| 8.2 | yes ✅ |
| 8.3 | yes ✅ |
| 8.4 | yes ✅ |
| 8.5 | yes ✅ |
Installation system support:
| Platform | Status |
|---|---|
| PECL | no ❌ |
| PIE | yes ✅ |
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
Description
Releases
1
Languages
C
84.5%
PHP
8.3%
M4
5.7%
JavaScript
1.5%