https://github.com/getopt-php/getopt-php
PHP333
last year
A PHP library for command-line argument processing
MIT License