NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2665 most downloaded on Packagist
Silly CLI micro-framework based on Symfony Console
Latest stable
1.10.1
Last release 4 months ago
29 Jun 2026
Release timing varies
gaps range from 6 weeks to 2.0 years
Nearly every release is documented
notes for 23 of 24 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
24 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Fix Symfony 8.x support by @shadowhand in https://github.com/mnapoli/silly/pull/77
Full Changelog: https://github.com/mnapoli/silly/compare/1.10.0...1.10.1
Remove Jigsaw from example applications in README.md by @pavog in https://github.com/mnapoli/silly/pull/74
Full Changelog: https://github.com/mnapoli/silly/compare/1.9.1...1.10.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Remove PHP 8.4 deprecation warning by @mpociot in https://github.com/mnapoli/silly/pull/73
Full Changelog: https://github.com/mnapoli/silly/compare/1.9.0...1.9.1
Support Symfony 7.0 and PHPUnit 10 by @makraz in https://github.com/mnapoli/silly/pull/72
Full Changelog: https://github.com/mnapoli/silly/compare/1.8.3...1.9.0
Revert "Use ArrayInput instead of StringInput" by @mcaskill in https://github.com/mnapoli/silly/pull/70
Full Changelog: https://github.com/mnapoli/silly/compare/1.8.2...1.8.3
Add return type to suppress deprecation by @andersonamuller in https://github.com/mnapoli/silly/pull/67
Full Changelog: https://github.com/mnapoli/silly/compare/1.8.1...1.8.2
Use ArrayInput instead of StringInput by @babeuloula in https://github.com/mnapoli/silly/pull/66
Full Changelog: https://github.com/mnapoli/silly/compare/1.8.0...1.8.1
Add return types preparing for upgrade of parent. by @andersonamuller in https://github.com/mnapoli/silly/pull/62
Full Changelog: https://github.com/mnapoli/silly/compare/1.7.3...1.8.0
Allow psr/container 2.0 by @swiffer in https://github.com/mnapoli/silly/pull/57
Compatibility with Symfony 5.
Compatibility with Symfony 5.
Lighter package when installed via Composer
Lighter package when installed via Composer
Nothing published for this version
```php use \Symfony\Component\Console\Style\SymfonyStyle;
#33 & #39 Support PSR-11
#39 Support PHP 7.0 and up only
#36 & #38 Allow to inject the SymfonyStyle object introduced in Symfony 2.8
use \Symfony\Component\Console\Style\SymfonyStyle;
...
$app->command('greet', function (SymfonyStyle $io) {
$io->write('hello');
});
- in them:$console->command('import [number-of-clicks]', function ($numberOfClicks = 1) {
var_dump($numberOfClicks); // prints 1
});
``` php $this->application->command('greet', ['MyClass', 'foo']);
#27, #28, #29: Throw an explicit exception when commands are registered as static calls to non static method calls.
Wrong way:
$this->application->command('greet', ['MyClass', 'foo']);
class MyClass {
public function foo() { ... }
}
That will now correctly throw an exception.
This should be used instead:
$this->application->command('greet', [new MyClass(), 'foo']);
Or you can use dependency injection with an autowiring container (http://mnapoli.fr/silly/docs/dependency-injection.html), for example with PHP-DI: http://mnapoli.fr/silly/docs/dependency-injection.html That way you don't have to change your code.
This release contains improvements on command arguments and options, by @thecrypticace:
This release contains improvements on command arguments and options, by @thecrypticace:
Allow options to have default values (#25, documentation)
$app->command('greet [--age=]', function ($age) {
// ...
})->defaults([
'age' => 25,
]);;
Default values can now be inferred from the callable's parameters (#25, documentation)
$app->command('greet [name] [--age=]', function ($name = 'John', $age = 25) {
// ...
});
Fixed: matching arguments and options containing hyphens (#26, documentation)
$app->command('run [--dry-run]', function ($dryRun) {
// ...
});
#23 and #24 Support defining command aliases
#23 and #24 Support defining command aliases
- #22 Make the descriptions() setter fluent
#20: compatibility with Symfony 3.x as well as 2.x.
#20: compatibility with Symfony 3.x as well as 2.x.
` php $app->command('init', function ($input, $output) { $this->runCommand('db:drop --force', $output) $this->runCommand('db:create', $output) $this->
#17 Run a sub-command easily with runCommand(), for example:
$app->command('init', function ($input, $output) {
$this->runCommand('db:drop --force', $output)
$this->runCommand('db:create', $output)
$this->runCommand('db:fixtures --verbose', $output)
});
Use the new php-di/invoker package, which removes a warning when installing Silly.
Use the new php-di/invoker package, which removes a warning when installing Silly.
New documentation and website: http://mnapoli.fr/silly/
New documentation and website: http://mnapoli.fr/silly/
First stable release. Changes since v0.2: - #6 Changed the syntax to be closer to Symfony help/man pages
First stable release.
Changes since v0.2:
0.x versions do not keep backward compatibility.
0.x versions do not keep backward compatibility.
--option=* (was previously [--option=]*--option=?) have been removed as they are completely buggy and unusable in Symfony…0.x versions do not keep backward compatibility.
0.x versions do not keep backward compatibility.
One column per quarter.