Libraries tagged by getopts
fostam/getopts
17607 Downloads
Flexible PHP command line argument parser with automated help message generation and validation support
99designs/cliph
65232 Downloads
A library for testable command-line applications
lisennk/request
50 Downloads
Allow to get data both from HTTP requests (e.g. $_POST, $_GET) and CLI without changing code
pear/console_getopt
52451490 Downloads
More info available on: http://pear.php.net/package/Console_Getopt
ulrichsg/getopt-php
3730538 Downloads
Command line arguments parser for PHP 7.1 and above
hoa/console
7452662 Downloads
The Hoa\Console library.
corneltek/getoptionkit
1773307 Downloads
Powerful command-line option toolkit
splitbrain/php-cli
482411 Downloads
Easy command line scripts for PHP with opt parsing and color output. No dependencies
phalcon/cli-options-parser
770922 Downloads
Command line arguments/options parser.
aura/cli
1264313 Downloads
Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.
vanilla/garden-cli
583872 Downloads
A full-featured, yet ridiculously simple commandline parser for your next php cli script. Stop fighting with getopt().
zendframework/zend-console
13268549 Downloads
Build console applications using getopt syntax or routing, complete with prompts
corneltek/cliframework
155092 Downloads
Command-line framework for PHP
clue/commander
15717 Downloads
Finally a sane way to register available commands and arguments and match your command line in PHP.
laminas/laminas-console
6949340 Downloads
Build console applications using getopt syntax or routing, complete with prompts