sebastian / cli-parser
Library for parsing CLI options
5.0.0
2026-02-06 04:39 UTC
Requires
- php: >=8.4
Requires (Dev)
- phpunit/phpunit: ^13.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