Download the PHP package diversen/parse-argv without Composer
On this page you can find all versions of the php package diversen/parse-argv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download diversen/parse-argv
More information about diversen/parse-argv
Files in diversen/parse-argv
Download diversen/parse-argv
More information about diversen/parse-argv
Files in diversen/parse-argv
Vendor diversen
Package parse-argv
Short Description Parse argv and get options and arguments
License MIT
Homepage http://github.com/diversen/parse-argv
Package parse-argv
Short Description Parse argv and get options and arguments
License MIT
Homepage http://github.com/diversen/parse-argv
Please rate this library. Is it a good library?
Informations about the package parse-argv
Simple argv parser
Any options are denoted by '-' or '--' and any option value must be specified by '='
You may cast options to int, float or booleans
Install:
composer require diversen/parse-argv
Example
Run the following test script:
php example.php -h --help --message=hello --to-int=100 --to-float=100.5 --to-bool=false argument1 argument2
See: example.php
Test
git clone [email protected]:diversen/parse-argv.git
cd parse-argv
composer install
./test.sh
License MIT
All versions of parse-argv with dependencies
PHP Build Version
Package Version
No informations.
The package diversen/parse-argv contains the following files
Loading the files please wait ....