View the Project on GitHub getopt-php/getopt-php
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