Silly
Silly CLI micro-framework based on Symfony Console
Install / Use
/learn @mnapoli/SillyREADME
currentMenu: home
Silly CLI micro-framework based on Symfony Console.
Professional support for Silly is available via Tidelift
Installation
$ composer require mnapoli/silly
Usage
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.
Documentation
Do more
Silly is just an implementation over the Symfony Console. Read the Symfony documentation to learn everything you can do with it.
Example applications
Interested in seeing examples of Silly applications? Have a look at this short selection:
Contributing
See the CONTRIBUTING file.
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
