Recommend this page to a friend! |
Download .zip |
Info | Example | View files (7) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-09-23 (2 months ago) | Not yet rated by the users | Total: 36 | All time: 10,547 This week: 82 |
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. |
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');
Files |
File | Role | Description | ||
---|---|---|---|---|
src (3 files) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
index.php | Example | Example script | ||
readme.MD | Doc. | Documentation |
Files | / | src |
File | Role | Description |
---|---|---|
App.php | Class | Class source |
Color.php | Class | Class source |
Printer.php | Class | Class source |
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.