Recommend this page to a friend! |
![]() |
Info | Example | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 48 | All time: 10,755 This week: 57![]() |
Version | License | PHP version | Categories | |||
php-cli 1.0 | MIT/X Consortium ... | 5 | PHP 5, Console |
Description | Author | |
This package can process console parameters with callback functions. |
<?php |
composer require mateodioev/php-easy-cli
$app = new \Mateodioev\PhpEasyCli\App();
$app->register('help', function() use ($app) {
$app->getPrinter()->display('Default command is help!!');
});
$app->run($argv, 'help');
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Example | Example script | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | src |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.