Download the PHP package lukman-ss/console without Composer
On this page you can find all versions of the php package lukman-ss/console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package console
Lukman Console
A lightweight standalone PHP console package.
Requirements
- PHP 8.2 or higher
Installation
Quick Start
Commands
Create a command by extending Lukman\Console\Command:
Register it:
Input
Input parses argv into:
- script name from
argv[0] - command name
- positional arguments
- long options like
--name=valueand--name value - flags like
--force - short flags like
-vand verbosity counts like-vvv --no-interaction
Output
Output writes to stdout and stderr. Memory streams can be passed for testing.
Built-in Commands
ConsoleApplication registers list and help automatically unless user commands with those names already exist.
Running without a command uses list.
Testing Commands
CommandTester is framework-free and captures stdout, stderr, and exit code.
Tests
All versions of console with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package lukman-ss/console contains the following files
Loading the files please wait ...