sebastian/cli-parser
Parse PHP CLI arguments ($_SERVER['argv']) with a small, focused library extracted from PHPUnit. sebastian/cli-parser helps you interpret options and parameters reliably in console scripts and tools, with Composer-friendly installation.
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?