aura / cli
Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.
Requires
- php: >=7.2.0
Requires (Dev)
- phpunit/phpunit: ^8.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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
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.