sebastian / cli-parser
Library for parsing CLI options
Fund package maintenance!
sebastianbergmann
Liberapay
Thanks Dev
Tidelift
Installs: 393 463 194
Dependents: 30
Suggesters: 0
Security: 0
Stars: 1 151
Watchers: 3
Forks: 5
Open Issues: 0
Requires
- php: >=8.3
Requires (Dev)
- phpunit/phpunit: ^12.0
README
sebastian/cli-parser
Library for parsing $_SERVER['argv']
, extracted from phpunit/phpunit
.
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require sebastian/cli-parser
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev sebastian/cli-parser