NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4622 most downloaded on Packagist
Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.
Latest stable
4.0.0
Last release 12 days ago
10 Nov 2026
Ships unpredictably
gaps range from 9 days to 5.3 years
Most releases are documented
notes for 10 of 15 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
17 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
parseInput() treats null elements as empty strings, avoiding the deprecation notices PHP 8.1 raises when null is passed to string functions.
Requires PHP 7.2 or later; tested up to PHP 8.5.
Help::addSection() and Help::getSections() append custom sections, such
as EXAMPLES or SEE ALSO, to the help output. They are printed after the
options in the order they were added. The text may be a string or an array
of lines, and adding a section with an existing title replaces it.-, so -b -5 sets -b to -5.0 or
'0' as its value instead of ignoring it.-ab,
is now set.parseInput() treats null elements as empty strings, avoiding the
deprecation notices PHP 8.1 raises when null is passed to string
functions.config/ directory and its Aura\Cli\_Config\Common Aura.Di container
config, along with the extra.aura block in composer.json. Wire the
objects yourself, or use CliFactory.autoload.php; use the Composer autoloader.docs/.CHANGES.md is renamed to CHANGELOG.md.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Update for PHP 7.2 or later
Update for PHP 7.2 or later
Add support for a space as separator between --longopt and its value; i.e., --longopt val (in addition to the existing --longopt=val).
Add support for a space as separator between --longopt and its value; i.e.,
--longopt val (in addition to the existing --longopt=val).
Hygiene release: update license year, remove branch alias, and update docs.
Hygiene release: update license year, remove branch alias, and update docs.
This release modifies the testing structure and updates other support files.
This release modifies the testing structure and updates other support files.
This release adds a feature: _Getopt_ defintion strings now allow for noting positional arguments using the #argname and #argname? notation, optionall
This release adds a feature: Getopt defintion strings now allow for noting positional arguments using the #argname and #argname? notation, optionally with an argument description. These are ignored by the GetoptParser for purposes of value-discovery, but the Help class does use them to auto-generate usage lines.
This is a hygiene release to update documentation and support files.
This is a hygiene release to update documentation and support files.
FIX: add explicit Help config for non-auto-resolved DI
FIX: Context\Env::get() now additionally examines getenv() for values; fixes #47
TST: Update testing structure, disable auto-resolve in container tests
DOC: Add docblocks, update README.
First 2.0 stable release.
Initial 2.0 beta release.
Initial 2.0 beta release.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.