phpty / reline
A port of Ruby's Reline line editor: Unicode width, grapheme and key-input handling for PHP terminal programs.
v0.2.0
2026-07-19 02:32 UTC
Requires
- php: ^7.4 || ^8.0
- ext-mbstring: *
- phpty/tty: v0.2.0
Suggests
- ext-pcntl: For SIGWINCH/SIGCONT/SIGINT handling during the read loop; without it those signals are not serviced
- phpty/screen-test: To drive Reline through a pty and assert on the rendered screen in tests
- phpunit/phpunit: To run the ported test suite
- yoast/phpunit-polyfills: For assertion compatibility across PHPUnit versions on PHP 7.4-8.x