Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Console | 9,429 | 133,657 | 8,239 | 11 days ago | 561 | June 26, 2022 | mit | PHP | ||
Eases the creation of beautiful and testable command line interfaces | ||||||||||
Laravel Zero | 3,229 | 1 | 1 | a month ago | 227 | August 25, 2022 | 46 | PHP | ||
A PHP framework for console artisans | ||||||||||
Drush | 2,284 | 2,616 | 394 | 2 days ago | 180 | September 23, 2022 | 379 | PHP | ||
Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt. | ||||||||||
Drupal Console | 925 | 2,090 | 253 | 6 months ago | 139 | November 29, 2021 | 256 | gpl-2.0 | PHP | |
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal. | ||||||||||
Silly | 845 | 316 | 110 | 7 months ago | 17 | February 20, 2022 | 3 | mit | PHP | |
Silly CLI micro-framework based on Symfony Console | ||||||||||
Ssh | 669 | 7 | 3 days ago | 14 | December 21, 2021 | mit | PHP | |||
A lightweight package to execute commands over an SSH connection | ||||||||||
Symfony Console Autocomplete | 494 | 11 | 2 | 3 months ago | 26 | April 11, 2022 | 3 | other | PHP | |
Shell autocompletion for Symfony Console based scripts | ||||||||||
Terminal | 455 | 7 | a year ago | 16 | February 26, 2022 | PHP | ||||
An Elegent wrapper around Symfony's Process component. | ||||||||||
Symfony Console Completion | 412 | 2,544 | 62 | 4 months ago | 22 | November 24, 2019 | 12 | mit | PHP | |
Automatic tab-key completion for Symfony console application options, arguments and parameters | ||||||||||
Certificationy Cli | 395 | 2 | a year ago | 11 | February 04, 2022 | mit | PHP | |||
The CLI tool to train certifications |
Silly CLI micro-framework based on Symfony Console.
Professional support for Silly is available via Tidelift
$ composer require mnapoli/silly
Example of a Silly application:
use Symfony\Component\Console\Output\OutputInterface;
$app = new Silly\Application();
$app->command('greet [name] [--yell]', function ($name, $yell, OutputInterface $output) {
$text = $name ? "Hello, $name" : "Hello";
if ($yell) {
$text = strtoupper($text);
}
$output->writeln($text);
});
$app->run();
Running the application is the same as running any other Symfony Console application:
$ php application.php greet
Hello
$ php application.php greet john --yell
HELLO JOHN
$ php application.php greet --yell john
HELLO JOHN
Silly\Application
extends Symfony\Console\Application
and can be used wherever Symfony's Application can.
Silly is just an implementation over the Symfony Console. Read the Symfony documentation to learn everything you can do with it.
Interested in seeing examples of Silly applications? Have a look at this short selection:
See the CONTRIBUTING file.