Download the PHP package maxkaemmerer/console without Composer
On this page you can find all versions of the php package maxkaemmerer/console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download maxkaemmerer/console
More information about maxkaemmerer/console
Files in maxkaemmerer/console
Download maxkaemmerer/console
More information about maxkaemmerer/console
Files in maxkaemmerer/console
Vendor maxkaemmerer
Package console
Short Description Useful tools for php console applications
License MIT
Package console
Short Description Useful tools for php console applications
License MIT
Please rate this library. Is it a good library?
Informations about the package console
WORK IN PROGRESS, CODE IS DUE TO CHANGE SO USE AT YOUR OWN RISK, NEITHER STABLE NOR BATTLE TESTED
This is a Work in Progress library of code that should be useful for basic php console applications
Example use with one Argument
- This will produce a value of type string.
- The type of the value is determined by the default value.
- In cases where the default value is null the value will be of type string.
- In cases where the default value is an array the value will be an array of strings.
Example use with multiple Arguments
- This will produce an associative array of argumentName => argumentValue.
- In this case the value of aggregateIds is an array of strings.
- In this case the value of aggregateVersion is
7
and of type int. - In this case the value of since is
now
and of type string. - In this case the value of rebuild is
true
and of type boolean. - Values of
MaxKaemmerer\Console\Argument\FlagArgument
are always of type boolean. Resulting intrue
if the flag is passed andfalse
if it is not. - When using
MaxKaemmerer\Console\Argument\InputArguments
and calling the script with --help a basic help message is displayed. This message can be overwritten by passing aMaxKaemmerer\Console\Argument\HelpArgument
with the other arguments.
All versions of console with dependencies
PHP Build Version
Package Version
The package maxkaemmerer/console contains the following files
Loading the files please wait ....