◐ Shell
clean mode source ↗

GitHub - sebastianbergmann/cli-parser: Library for parsing CLI options

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Latest Stable Version CI Status codecov

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

Sponsor this project