a better getopt for php

View the Project on GitHub getopt-php/getopt-php

Build Status Coverage Status Latest Stable Version Total Downloads Total Downloads


GetOpt.php is a command-line argument processor for PHP 5.4 and above. It started out as an object-oriented replacement for PHP’s own getopt() method, but has since evolved to become significantly more powerful.

Feature Overview