PHP CLI IO: Read and write data to console terminals

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-08-24 (11 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 71 This week: 2All time: 9,661 This week: 108Up
Version License PHP version Categories
cli-io 1.0BSD License5PHP 5, Console
Description Author

This package can read and write data to console terminals.

It provides several functions to interact with users via a console terminal. Currently it can:

- Read data from the input stream
- Write formatted data to the output
- Prompt the user input and reads a response
- Hide the console input cursor
- Change the position of the cursor on the terminal
- Erase text in the current cursor position
- Output a tab, carriage return, new line or backspace
- Check if PHP is running the cli version
- Check is PHP is running on Windows or in a POSIX environment

Picture of chrys ugwu
  Performance   Level  
Name: chrys ugwu <contact>
Classes: 9 packages by
Country: Nigeria Nigeria
Age: 27
All time rank: 20779 in Nigeria Nigeria
Week rank: 54 Up4 in Nigeria Nigeria Up
Innovation award
Innovation award
Nominee: 3x



Terminal IO reader/writer

For POSIX systems only, for now.

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Plain text file composer.json Data Auxiliary data
Plain text file LICENSE Lic. License text
Plain text file Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file CliIO.php Class Class source
  Plain text file Exception.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:9,661
This week:108Up

For more information send a message to info at phpclasses dot org.