ulrichsg/getopt-php
Lightweight PHP library for parsing command-line options and arguments (getopt). Define short/long flags, required/optional values, and get a clean result for building CLI tools. No framework dependencies, simple API, supports help/usage output.
GetOpt has received contributions from several people in the past, for which we are deeply thankful. If you would like to contribute, feel free to create an issue or clone the source and submit a pull request. If you are planning to hack on GetOpt yourself, please read the rest of this page for some general information.
If PHPUnit is already installed, calling phpunit in the project directory will run the test suite.
However, if it is not, you can pull it in as a local dependency by running:
$ make install-dependencies
This will download Composer and then run it to install GetOpt's development dependencies (i.e. PHPUnit). After that, the test suite can be executed like this:
$ make test
How can I help you explore Laravel packages today?