sebastian / cli-parser
Library for parsing CLI options
Fund package maintenance!
sebastianbergmann
Installs: 201 721 456
Dependents: 18
Suggesters: 0
Security: 0
Stars: 902
Watchers: 4
Forks: 4
Open Issues: 0
Requires
- php: >=8.1
Requires (Dev)
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2023-09-17 15:28:32 UTC
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