PHPackages                             kk/chuck-command - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. kk/chuck-command

ActiveSymfony-bundle[CLI &amp; Console](/categories/cli)

kk/chuck-command
================

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

1.3.0(10y ago)7523MITPHPPHP &gt;=5.5.0

Since May 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/KodingKittens/ChuckConsoleBundle)[ Packagist](https://packagist.org/packages/kk/chuck-command)[ Docs](http://kodingkittens.com)[ RSS](/packages/kk-chuck-command/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (10)Used By (0)

ChuckConsoleBundle
==================

[](#chuckconsolebundle)

[![Build Status](https://camo.githubusercontent.com/86ed25b1b1aa71b08003335430bb9a3a13bb4ef4d695a2a59cd9a805d9024ffe/68747470733a2f2f7472617669732d63692e6f72672f4b6f64696e674b697474656e732f436875636b436f6e736f6c6542756e646c652e737667)](https://travis-ci.org/KodingKittens/ChuckConsoleBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f640b163e916b8a868a1bf4a5638e315d3dc9cf0c572fe329eaa9f626fc4018e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4b6f64696e674b697474656e732f436875636b436f6e736f6c6542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/KodingKittens/ChuckConsoleBundle/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/9eae28b16cfce4cce813fb09485c22a2cb4d0e1838da807c69e97df029f1e7dd/68747470733a2f2f706f7365722e707567782e6f72672f6b6b2f636875636b2d636f6d6d616e642f762f737461626c65)](https://packagist.org/packages/kk/chuck-command)[![Code Coverage](https://camo.githubusercontent.com/d1dde9ecac2cb713d859c83411527e71bde63bb24fd2323e82f31334e264aec9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4b6f64696e674b697474656e732f436875636b436f6e736f6c6542756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/KodingKittens/ChuckConsoleBundle/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/d3f2e513726fb1ad3d04bb555d0f3879bcd93a9302b38d76f487b848d7b79b8b/68747470733a2f2f706f7365722e707567782e6f72672f6b6b2f636875636b2d636f6d6d616e642f646f776e6c6f616473)](https://packagist.org/packages/kk/chuck-command)[![Monthly Downloads](https://camo.githubusercontent.com/38e5fcf4714e61e4e4aa97e4315f42b76cd6af0158663c725470501ff511c4a3/68747470733a2f2f706f7365722e707567782e6f72672f6b6b2f636875636b2d636f6d6d616e642f642f6d6f6e74686c79)](https://packagist.org/packages/kk/chuck-command)[![SensioLabsInsight](https://camo.githubusercontent.com/22d5c8a095e090135ca9e4c4ae29cd0c270107149653b9b460f8398eba93af8b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30663961366562332d343937392d343736382d626634312d3365353338396333613630642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/0f9a6eb3-4979-4768-bf41-3e5389c3a60d)

Simple and stupid Symfony2 Bundle displaying a random Chuck Norris fact after every console command.

[![Chuck Norris Rules](https://camo.githubusercontent.com/9e9faf005767af7ce3f2a1fac8eed7be3fd345efb28e5333d4d4976b604277cb/687474703a2f2f342e62702e626c6f6773706f742e636f6d2f2d3366725a533251356839342f5651672d306832414c42492f41414141414141414566632f69367679684955485f6d6f2f73313630302f636875636b2d6e6f727269732e6a7067)](https://camo.githubusercontent.com/9e9faf005767af7ce3f2a1fac8eed7be3fd345efb28e5333d4d4976b604277cb/687474703a2f2f342e62702e626c6f6773706f742e636f6d2f2d3366725a533251356839342f5651672d306832414c42492f41414141414141414566632f69367679684955485f6d6f2f73313630302f636875636b2d6e6f727269732e6a7067)

\##NEW

version 1.3.0:

- new configuration option : environments

version 1.2.0:

- fixed ConnectException issue

version 1.1.0:

- added support for Symfony 3

version 1.0.0:

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

\##Installation

just run :

```
composer require kk/chuck-command
composer update
```

and register the bundle in your app/AppKernel.php :

```
// 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.

[![Screenshot of ChuckConsoleBundle](https://camo.githubusercontent.com/1cb0827ee20c8b2433bacd3c4b5a06939af6a2b70636690de0568be3b83ad04f/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f43432d7439394b57414145483547792e706e673a6c61726765)](https://camo.githubusercontent.com/1cb0827ee20c8b2433bacd3c4b5a06939af6a2b70636690de0568be3b83ad04f/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f43432d7439394b57414145483547792e706e673a6c61726765)

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

```
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](http://www.icndb.com/api/)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~0 days

Total

8

Last Release

3768d ago

Major Versions

0.1.2 → 1.2.02016-01-23

0.1.0 → 1.3.02016-01-23

0.2.0 → 1.0.02016-01-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/d82908e583e3fb2492345a70ec38303d6a8b7be20ffea15b66fed59c10cbb728?d=identicon)[KodingKittens](/maintainers/KodingKittens)

---

Tags

consolecommandchucknorris

### Embed Badge

![Health badge](/badges/kk-chuck-command/health.svg)

```
[![Health](https://phpackages.com/badges/kk-chuck-command/health.svg)](https://phpackages.com/packages/kk-chuck-command)
```

###  Alternatives

[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2939.0M192](/packages/helhum-typo3-console)[adhocore/cli

Command line interface library for PHP

3501.2M50](/packages/adhocore-cli)[aplus/cli

Aplus Framework CLI Library

2301.7M6](/packages/aplus-cli)[illuminated/console-mutex

Mutex for Laravel Console Commands.

146938.2k1](/packages/illuminated-console-mutex)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[zenstruck/console-extra

A modular set of features to reduce configuration boilerplate for your Symfony commands.

8057.6k1](/packages/zenstruck-console-extra)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
