PHP Classes

PHP Command Line Parser: Invoke functions to process command-line arguments

Recommend this page to a friend!

  Author Author  
Picture of Mat Jung
Name: Mat Jung <contact>
Classes: 4 packages by
Country: Switzerland Switzerland
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz  
This package can invoke functions to process command-line arguments.

It can take as a parameter the $argv array passed to PHP as the array of command line arguments and an array that defines options on how to process those arguments.

The package can process the arguments by invoking a callback function that applications pass to process the command line argument values.

It can also call a given callback function to process when all arguments are processed and when no arguments are passed to the package.

  Classes of Mat Jung  >  PHP Command Line Parser  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Command Line Parser
Base name: clp
Description: Invoke functions to process command-line arguments
Version: -
PHP version: 7
License: Free For Educational Use
 
  Groups   Applications   Files Files  

  Groups  
Group folder image Console Command line and console utilities View top rated classes
Group folder image PHP 7 Classes using PHP 7 specific features View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file Example1.php Example Example script
Plain text file Example2.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Read me

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

Download Download all files: clp.tar.gz clp.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file Example1.php Example Example script
Plain text file Example2.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Read me

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

Download Download all files: clp.tar.gz clp.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.