Search by

aura / cli

hariktpmjones

Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.

Package info

github.com/auraphp/Aura.Cli

pkg:composer/aura/cli

Statistics

Installs: 1 772 714

Dependents: 29

Suggesters: 0

Stars: 102

Open Issues: 1

4.0.0 2026-11-10 08:50 UTC

README

Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface, including Getopt support, and an independent Help object for describing commands.

Foreword

Installation

This library requires PHP 7.2 or later; we recommend using the latest available version of PHP as a matter of principle.

It has no userland dependencies.

It is installable and autoloadable via Composer as aura/cli.

Quality

Continuous Integration

To run the unit tests at the command line, issue composer install and then composer test at the package root. This requires Composer to be available as composer.

This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.

Community

To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our Google Group, follow @auraphp on Twitter, or chat with us on #auraphp on Freenode.

Documentation

This package is fully documented here.