2017 © Pedro Peláez
 

library silly

Silly CLI micro-framework based on Symfony Console

image

mnapoli/silly

Silly CLI micro-framework based on Symfony Console

  • Friday, July 20, 2018
  • by mnapoli
  • Repository
  • 19 Watchers
  • 563 Stars
  • 537,231 Installations
  • PHP
  • 62 Dependents
  • 1 Suggesters
  • 31 Forks
  • 2 Open issues
  • 14 Versions
  • 16 % Grown

The README.md


currentMenu: home

Silly CLI micro-framework based on Symfony Console., (*1)

Build Status Coverage Status Scrutinizer Code Quality Packagist, (*2)

Professional support for Silly is available via Tidelift, (*3)

Installation

$ composer require mnapoli/silly

Usage

Example of a Silly application:, (*4)

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:, (*5)

$ 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., (*6)

Documentation

Do more

Silly is just an implementation over the Symfony Console. Read the Symfony documentation to learn everything you can do with it., (*7)

Example applications

Interested in seeing examples of Silly applications? Have a look at this short selection:, (*8)

Contributing

See the CONTRIBUTING file., (*9)

The Versions

20/07 2018

dev-master

9999999-dev

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework psr-11 silly

18/11 2017

1.7.0

1.7.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework psr-11 silly

22/05 2017

1.6.0

1.6.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework psr-11 silly

16/09 2016

1.5.1

1.5.1.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

31/08 2016

1.5.0

1.5.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

13/08 2016

1.4.0

1.4.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

01/08 2016

1.3.1

1.3.1.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

27/02 2016

1.3.0

1.3.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

01/02 2016

1.2.0

1.2.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

24/05 2015

1.1.1

1.1.1.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

04/04 2015

1.1.0

1.1.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

02/03 2015

1.0.0

1.0.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

28/02 2015

0.2.0

0.2.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly

12/02 2015

0.1.0

0.1.0.0

Silly CLI micro-framework based on Symfony Console

  Sources   Download

MIT

The Requires

 

The Development Requires

framework console cli micro-framework silly