|
|
6 bulan lalu | |
|---|---|---|
| .. | ||
| resources | 6 bulan lalu | |
| src | 6 bulan lalu | |
| .gitattributes | 6 bulan lalu | |
| .gitignore | 6 bulan lalu | |
| .travis.yml | 6 bulan lalu | |
| CHANGELOG.md | 6 bulan lalu | |
| LICENSE | 6 bulan lalu | |
| Makefile | 6 bulan lalu | |
| README.md | 6 bulan lalu | |
| composer.json | 6 bulan lalu | |
| phpunit.xml | 6 bulan lalu | |
GetOpt.PHP is a library for command-line argument processing. It supports PHP version 5.4 and above.
-v) and long (e.g. --version) options-vvv)--option value and --option=value-abc instead of -a -b -c), also with an argument for the last option
(e.g. -ab 1 instead of -a -b 1)-o value and -ovalue--path "/some path/with spcaces") for string processing--domain example.org --domain example.com)If you are still using a legacy version of GetOpt.PHP, please consider upgrading to version 3.
Only a few adjustments to your code are required to benefit from a lot of improvements. Refer to the upgrade guide for details.
GetOpt.PHP is published under the MIT License.