ulrichsg/getopt-php
Lightweight PHP library for parsing command-line options and arguments (getopt). Define short/long flags, required/optional values, and get a clean result for building CLI tools. No framework dependencies, simple API, supports help/usage output.
GetOpt.php is a command-line argument processor for PHP 5.4 and above. It started out as an object-oriented
replacement for PHP's own getopt() method,
but has since evolved to become significantly more powerful.
-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)How can I help you explore Laravel packages today?