ulrichsg/getopt-php
Lightweight PHP library for parsing command-line options and arguments (getopt). Define short/long flags, required/optional values, and get a clean result for building CLI tools. No framework dependencies, simple API, supports help/usage output.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pear/console_getopt | 0.84 | PEAR Console_Getopt is a small PHP library for parsing command-line options and arguments. It supports GNU-style short and long flags, handles required/optional values, and provides help-friendly parsing for CLI scripts and tools. | 85 | 85 | 14 | 2M | 0 | 1.1 | 55.3 | BSD-2-Clause | 6 years ago | |
| adhocore/cli | 0.84 | A lightweight PHP library to build interactive CLI apps with commands, options, prompts, and colored output. Create structured command-line tools quickly, with input helpers and utilities suited for both simple scripts and larger console applications. | 351 | 356 | 38 | 75K | 5 | 13.4 | 33.9 | MIT | 1 year ago | |
| nategood/commando | 0.83 | Commando is a lightweight PHP library for building command-line apps: define options and arguments, parse input, generate help text, and validate values. Ideal for quick CLI tools and scripts with minimal boilerplate. | 803 | 812 | 80 | 33K | 24 | 14.5 | 33.7 | MIT | — | |
| sebastianfeldmann/cli | 0.82 | Lightweight PHP library for building CLI tools: defines commands and options, parses argv, validates input, and renders help/usage output. Clean API for composing console applications with consistent argument handling and exit codes. | 21 | 21 | 8 | 308K | 4 | 9.8 | 55.8 | MIT | 1 year ago | |
| tomatophp/console-helpers | 0.82 | — | 5 | 5 | 3 | 22K | 0 | 0.7 | 49.2 | MIT | 2 years ago | |
| queents/console-helpers | 0.82 | — | 0 | 0 | 0 | 1K | 1 | 0.7 | 43.0 | MIT | 3 years ago | |
| sebastian/cli-parser | 0.80 | Parse PHP CLI arguments from $_SERVER['argv'] with a small, focused library extracted from PHPUnit. Ideal for building command-line tools and test runners, providing straightforward handling of options and parameters with minimal dependencies. | 1,206 | 1,207 | 6 | 14M | 1 | 26.4 | 64.1 | BSD-3-Clause | 1 month ago |
How can I help you explore Laravel packages today?