Download the PHP package hell-sh/pai without Composer
On this page you can find all versions of the php package hell-sh/pai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor hell-sh
Package pai
Short Description The easy input wrapper for PHP.
License MIT
Homepage https://github.com/hell-sh/pai
Package pai
Short Description The easy input wrapper for PHP.
License MIT
Homepage https://github.com/hell-sh/pai
Keywords stdinworkaround
Please rate this library. Is it a good library?
Informations about the package pai
pai
The easy input wrapper for PHP.
Abandoned: Use the
stdin
class of Asyncore, instead.
Why?
- Asynchronous input on Windows is only possible using workarounds. This is a known issue but no one is interested in solving it.
- STDIN is entirely broken on Windows as of 7.4.
When?
Whenever you need asynchronous or synchronous input of lines to work on all operating systems. If you need character-by-character input, I'm afraid your script will not work on Windows, regardless of what you do.
Installation
pai has no prerequisites, you can simply composer require hell-sh/pai
or copy the src folder and require the pai.php in there.
All functions on hellsh\pai
are documented here.
All versions of pai with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package hell-sh/pai contains the following files
Loading the files please wait ....