sebastian/cli-parser
sebastian/cli-parser is a lightweight PHP library for parsing $_SERVER['argv'], extracted from PHPUnit. It gives command-line tools a simple way to read and validate arguments and options without a full CLI framework.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| code-lts/cli-tools | 0.88 | — | 2 | 3 | 0 | 27K | 0 | 8.1 | 57.0 | MPL-2.0 | 9 months ago | |
| php-school/cli-menu | 0.86 | Build interactive command-line menus in PHP. Create selectable lists, checkboxes and radio items, submenus, and styled output with custom colors and layouts. Handle keyboard navigation and callbacks for a smooth TUI experience. | 1,944 | 1,954 | 105 | 41K | 8 | 38.4 | 25.0 | MIT | 2 weeks ago | |
| aura/cli | 0.86 | Aura.Cli provides request/response-style objects for PHP CLI apps: Context for environment and argv discovery, Stdio for input/output, Getopt for option parsing, plus a standalone Help builder to describe commands. Lightweight, no userland deps. | 102 | 105 | 21 | 31K | 1 | 4.8 | 35.0 | BSD-2-Clause | 5 years ago | |
| symfony/console | 0.86 | The Console component eases the creation of beautiful and testable command line interfaces for PHP applications, with support for input/output handling, styling, and argument parsing. | 9,813 | 9,992 | 263 | 18M | 0 | 67.7 | 53.1 | MIT | 1 week ago | |
| fidry/console | 0.85 | Lightweight, robust wrapper around symfony/console. Uses a single IO object (SymfonyStyle-like, with access to Input/Output) plus typed, validated args/options. Prefer explicit interfaces over inheritance; works with Symfony or standalone CLI apps. | 19 | 19 | 3 | 96K | 6 | 8.7 | 53.1 | MIT | 1 year ago | |
| bramus/ansi-php | 0.85 | bramus/ansi-php is a lightweight PHP library for working with ANSI escape codes in the terminal. Easily colorize and style CLI output, move the cursor, clear sections of the screen, and build richer command-line interfaces with minimal setup. | 96 | 97 | 10 | 155K | 3 | 1.6 | 44.9 | MIT | — | |
| alexeyshockov/plain-commands | 0.85 | — | 2 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| stecman/symfony-console-completion | 0.85 | Adds BASH and ZSH tab completion to Symfony Console applications. With zero configuration it completes command names and options; user code can define custom completion for argument and option values. Install via Composer and register the CompletionCommand. | 421 | 424 | 26 | 91K | 10 | 30.4 | 41.6 | MIT | 1 month ago | |
| yosymfony/parser-utils | 0.85 | A small PHP toolkit for building parsers, providing tokens, token streams, AST nodes, source locations, and syntax errors. It offers reusable utilities for lexers and recursive-descent parsers, and underpins libraries such as yosymfony/toml. | 21 | 21 | 3 | 48K | 0 | 0.2 | 46.1 | MIT | 8 years ago | |
| 21torr/cli | 0.85 | — | 0 | 0 | 2 | 496 | 0 | 16.0 | 41.3 | MIT | 8 months ago | |
| knplabs/knp-console-autocomplete-bundle | 0.85 | A Symfony bundle that adds shell autocompletion for your console commands, completing command names, arguments, and options in bash and zsh. It makes CLI tools faster and friendlier by suggesting valid values as users type, with minimal setup. | 38 | 39 | 3 | 0 | 2 | 0.3 | — | MIT | — | |
| barthy-koeln/bash-echolorized | 0.84 | Minimal bash helper for clean, colorized CLI output in CI/CD scripts and git hooks. Source it via Composer or npm/yarn and use e_info/e_success/e_warning/e_error plus colored_output and tagged_output for readable, tagged status lines. | 3 | 3 | 0 | 0 | 0 | 0.6 | — | MIT | 5 years ago | |
| laravel-lang/status-generator | 0.84 | Dev-only Laravel Lang tool to create missing locales and download/copy translation files from Laravel, framework, Jetstream and more. Includes CLI commands for generating locale stubs, fetching zips by version, and copying lang paths with optional key lookup. | 4 | 4 | 3 | 22K | 0 | 26.1 | 57.6 | MIT | 4 months ago | |
| splitbrain/php-cli | 0.84 | splitbrain/php-cli is a lightweight PHP library for building command-line tools. It offers argument parsing, colored output, tables, progress bars, and interactive prompts, making portable CLI apps easier without heavy dependencies. | 178 | — | 40 | — | 1 | 2.3 | — | MIT | — |
|
| php-tui/term | 0.84 | php-tui/term is a PHP library for terminal control and TUI development, with ANSI escape sequences, cursor movement, text styling, screen management, and input handling. Build responsive command-line interfaces and interactive CLI tools without heavy dependencies. | 45 | — | 8 | — | 4 | 1.9 | 2.3 | MIT | 2 years ago |
|
| seld/cli-prompt | 0.84 | Cross-platform CLI user input prompts for PHP. Read normal input or securely prompt for passwords/secret values with hidden typing. Automatically trims the trailing newline; optional visible fallback if hidden input isn’t available. Composer install. | 248 | 253 | 7 | 271K | 0 | 2.4 | 42.0 | MIT | 5 years ago | |
| laranail/console | 0.83 | Laranail Console extends Laravel's Artisan CLI with convenient commands and helpers for common development and maintenance tasks, streamlining terminal workflows and making it easier to manage your application from the command line. | 1 | — | 0 | — | 0 | 19.2 | — | MIT | 2 weeks ago |
|
| sunra/php-simple-html-dom-parser | 0.83 | A maintained PHP port of Simple HTML DOM for loading and manipulating HTML with jQuery-like CSS selectors. It provides an easy, forgiving API for scraping pages and extracting or editing elements, with Composer support for modern PHP versions. | 1,282 | — | 342 | — | 30 | 27.7 | 18.0 | — | 9 years ago |
|
| phalcon/cli-options-parser | 0.83 | A simple, lightweight PHP library for parsing command-line options and arguments in Phalcon CLI applications. Define expected flags, parameters, and switches, then read and validate user input with sensible defaults, type checks, and clear error messages for robust console tooling. | 18 | 18 | 8 | 27K | 0 | 0.9 | 44.0 | BSD-3-Clause | 2 years ago | |
| adhocore/cli | 0.83 | 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. | 353 | 357 | 38 | 87K | 5 | 13.4 | 34.7 | MIT | 1 year ago |
How can I help you explore Laravel packages today?