Silly Versions Save

Silly CLI micro-framework based on Symfony Console

1.9.0

4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mnapoli/silly/compare/1.8.3...1.9.0

1.8.3

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mnapoli/silly/compare/1.8.2...1.8.3

1.8.2

1 year ago

What's Changed

Full Changelog: https://github.com/mnapoli/silly/compare/1.8.1...1.8.2

1.8.1

1 year ago

Bugfixes

New Contributors

Full Changelog: https://github.com/mnapoli/silly/compare/1.8.0...1.8.1

1.8.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/mnapoli/silly/compare/1.7.3...1.8.0

1.7.3

2 years ago

1.7.2

4 years ago

Compatibility with Symfony 5.

1.7.1

5 years ago

Lighter package when installed via Composer

1.7.0

6 years ago
  • #44 Symfony 4 support

1.6.0

7 years ago
  • #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');
});
  • #34 & #35 Support default values for arguments/options with - in them:
$console->command('import [number-of-clicks]', function ($numberOfClicks = 1) {
   var_dump($numberOfClicks); // prints 1
});