Download the PHP package hasan-22/php-command without Composer
On this page you can find all versions of the php package hasan-22/php-command. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hasan-22/php-command
More information about hasan-22/php-command
Files in hasan-22/php-command
Download hasan-22/php-command
More information about hasan-22/php-command
Files in hasan-22/php-command
Vendor hasan-22
Package php-command
Short Description Creating custom commands by PHP
License MIT
Homepage https://github.com/HASSAN-22/php-command
Package php-command
Short Description Creating custom commands by PHP
License MIT
Homepage https://github.com/HASSAN-22/php-command
Please rate this library. Is it a good library?
Informations about the package php-command
PHP command line
Creating custom commands by PHP language With this package, you can easily create a command line script
Install
Usage:
Create a command
Get input from user
Secret input
Get arguments for command line
Add color to text
Help about commands
Functions
| Functions | Description | Example |
|---|---|---|
| Command | Create a command | Console::Command('commandName',Closure) |
| input | It takes an input from the user and returns the value of the input | Console::input('Your message') |
| secretInput | User input will not be visible to them as they type in the console | Console::secretInput('You password: ') |
| purpose | Add a description to the command | Console::purpose('Description') |
| option | Takes the value of an argument | Console::option('argName') |
All versions of php-command with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package hasan-22/php-command contains the following files
Loading the files please wait ...