sebastian/cli-parser
sebastian/cli-parser is a lightweight PHP library for parsing command-line arguments from $_SERVER['argv'], extracted from phpunit/phpunit. Ideal for building CLI tools and test runners that need reliable option and argument handling.
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?