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.
Features:
GetOptGetOptGetOpt::SETTING_* constants):*ArgGetOpt::MULTIPLE_ARGUMENT for parameter aggregation (solves #57)Command for kinda routing in console applications (solves #41)Operand for named operands and validation (solves #27)HelpInterface for custom help implementationsGetOpt::getHelpText() for better support of other features and customizationBugfixes:
GetOpt::count() returns the wrong value (solves #70)Features:
Features:
Features:
Features:
Changes:
Features:
Bugfixes:
Features:
Features:
Features:
Features:
Bugfixes:
Bugfixes:
How can I help you explore Laravel packages today?