2017 © Pedro Peláez
 

symfony-bundle chuck-command

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

image

kk/chuck-command

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  • Tuesday, May 10, 2016
  • by KodingKittens
  • Repository
  • 1 Watchers
  • 7 Stars
  • 513 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

ChuckConsoleBundle

Build Status Scrutinizer Code Quality Latest Stable Version Code Coverage Total Downloads Monthly Downloads SensioLabsInsight, (*1)

Simple and stupid Symfony2 Bundle displaying a random Chuck Norris fact after every console command., (*2)

Chuck Norris Rules, (*3)

NEW

version 1.3.0:, (*4)

  • new configuration option : environments

version 1.2.0:, (*5)

  • fixed ConnectException issue

version 1.1.0:, (*6)

  • added support for Symfony 3

version 1.0.0:, (*7)

  • Guzzle 6 implementation
  • chuck:fact console command to get a fact whenever you need one
  • timeout configuration parameter

Installation

just run :, (*8)

composer require kk/chuck-command
composer update

and register the bundle in your app/AppKernel.php :, (*9)

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new KK\Labs\ChuckConsoleBundle\KKLabsChuckConsoleBundle(),
        );

        // ...
    }
}

Usage

As simple as using any app/console command., (*10)

Screenshot of ChuckConsoleBundle, (*11)

In case of emergency, can also get a fact when you really need one :, (*12)

app/console chuck:fact
#output : Fact: Chuck Norris doesn't consider it sex if the woman survives.
app/console chuck:fact Your boss
#output : Fact: Your boss doesn't consider it sex if the woman survives.

Customization in config.yml file :

kk_labs_chuck_console:
    who:
        #your first name or anyone's first name
        first_name: "Your first name"
        #your last name or anyone's last name
        last_name: "Your last name"
    #after n seconds, don't wait for response from Chuck API
    timeout: 5
    #environments enabled (default : 'dev')
    environments: ['dev', 'prod', 'custom']

API Credit

API Credit goes to The Internet Chuck Norris Database, (*13)

The Versions

10/05 2016

dev-master

9999999-dev http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

10/05 2016

dev-develop

dev-develop http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

23/01 2016

0.2.0

0.2.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

23/01 2016

1.0.0

1.0.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

23/01 2016

1.1.0

1.1.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

23/01 2016

1.3.0

1.3.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

23/01 2016

0.1.0

0.1.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

23/01 2016

1.2.0

1.2.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

31/05 2015

0.1.2

0.1.2.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

13/05 2015

0.1.1

0.1.1.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris

19/04 2015

0.1

0.1.0.0 http://kodingkittens.com

Simple Symfony2 Bundle displaying a random Chuck Norris fact for every console command.

  Sources   Download

MIT

The Requires

 

by Avatar KodingKittens

command console chuck norris