PHP Classes
elePHPant
Icontem

Console App: Parse and retrieve command line argument values

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-07-31 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 971 All time: 3,588 This week: 923Up
Version License Categories
console_app 1.0GNU Lesser Genera...Console
Description Author

This class can be used to parse and retrieve the values of arguments passed to PHP applications started from a command line shell or DOS.

It can:

- Parse arguments and extract option values according to a definition of the option switches.
- Generate the help screen to explain the options to the users
- Display formatted messages to the console with ASCII control sequences to set color, bold, underline, reverse and blink styles.
- Read a input parameters typed by the user in the console.
- Reconfigure configuration files interactively
- draw table and progression bar
This class does not require any specific PHP extension.

Picture of Jonathan Gotti
Name: Jonathan Gotti <contact>
Classes: 13 packages by
Country: France France
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file Console_app.php Class main class file
Plain text file console_app.php5 Class PHP 5 version of the main class
Accessible without login Plain text file fx-conf.php Aux. use to manage config file
Accessible without login Plain text file hello.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:971
This week:0
All time:3,588
This week:923Up