Download the PHP package xinc/getopt without Composer
On this page you can find all versions of the php package xinc/getopt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor xinc
Package getopt
Short Description Command line arguments parser for PHP 5.3
License MIT
Homepage http://ulrichsg.github.io/getopt-php
Package getopt
Short Description Command line arguments parser for PHP 5.3
License MIT
Homepage http://ulrichsg.github.io/getopt-php
Please rate this library. Is it a good library?
Informations about the package getopt
Xinc.Getopt
This is a friendly for of Ulrichsg/Getopt.PHP. It is a fine library, but the usage is not flexible enough to suit xincs requirements.
Getopt.PHP is a library for command-line argument processing. It supports PHP version 5.3 and above.
Features
- Supports both short (eg.
-v
) and long (eg.--version
) options - Option aliasing, ie. an option can have both a long and a short version
- Collapsed short options (eg.
-abc
instead of-a -b -c
) - Cumulative options (eg.
-vvv
) - Options may take optional or mandatory arguments
- Two alternative notations for long options with arguments:
--option value
and--option=value
- Collapsed short options with mandatory argument at the end (eg.
-ab 1
instead of-a -b 1
)
Documentation
License
Xinc.Getopt is published under the MIT License.
All versions of getopt with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.4
The package xinc/getopt contains the following files
Loading the files please wait ....