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