Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 86 | All time: 10,022 This week: 560![]() |
Version | License | PHP version | Categories | |||
hydrogen-console 1.0 | Custom (specified... | 7 | Console, PHP 7 |
Description | Author | |
This package can process the shell console input and output. |
|
CLI library to work with inputs/outputs from/to the gnu/linux terminal .
MIT
composer require dilawsky/hydrogen-console dev-master
<?php
require "vendor/autoload.php";
use Console\Input\Classes\Input as Input;
use Console\Output\Classes\Output as Output;
$Input = new Input;
$Output = new Output;
$Input->process($argv);
$Input->ask("Would you like a tea ?", function($answer) use ($Output) {
if($answer === "yes") {
$Output->write("preparing the tea ...","green");
}
});
?>
walidlaggoune159@gmail.com
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.