PHP Classes

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 (12 years ago) RSS 2.0 feedNot enough user ratingsTotal: 979 All time: 3,661 This week: 381Up
Version License Categories
console_app 1.0.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.

Name: Jonathan Gotti is available for providing paid consulting. Contact Jonathan Gotti .
Classes: 13 packages by
Country: France France
Age: 43
All time rank: 724 in France France
Week rank: 106 Down6 in France France Down
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  
This week:0
All time:3,661
This week:381Up

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