sebastian/cli-parser
Parse PHP CLI arguments from $_SERVER['argv'] with a small, focused library extracted from PHPUnit. Ideal for building command-line tools and test runners, providing straightforward handling of options and parameters with minimal dependencies.
Library for parsing $_SERVER['argv'], extracted from phpunit/phpunit.
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
How can I help you explore Laravel packages today?