marcw/wurst-bundle

Prints a nice wurst to your shell.

Installs: 1 721

Dependents: 0

Suggesters: 0

Security: 0

Stars: 61

Watchers: 1

Forks: 59

Open Issues: 3

Type:symfony-bundle

dev-master 2019-10-24 15:09 UTC

This package is not auto-updated.

Last update: 2020-02-18 14:35:12 UTC


README

Prints a nice wurst to your shell. 687474703a2f2f656d6f732e706c75726b2e636f6d2f33393831353636333039333431393461633939323962353566356666393633385f7732385f6834382e676966

SensioLabsInsight Total Downloads License

Installation

Installation is a quick (I promise!) 3 step process:

  1. Download MarcWWurstBundle
  2. Configure the Autoloader
  3. Enable the Bundle

Step 1: Download MarcWWurstBundle

Ultimately, the MarcWWurstBundle files should be downloaded to the vendor/marcw/wurst-bundle/MarcW/Bundle/WurstBundle directory.

This can be done in several ways, depending on your preference. The first method is the standard Symfony2 method.

Using Composer

Add MarcWWurstBundle in your composer.json:

{
    "require": {
        "marcw/wurst-bundle": "dev-master"
    }
}
$ php composer.phar require marcw/wurst-bundle

Using submodules

If you prefer instead to use git submodules, then run the following:

$ git submodule add git://github.com/marcw/MarcWWurstBundle.git vendor/bundles/MarcW/Bundle/WurstBundle
$ git submodule update --init

Note that using submodules requires manually registering the MarcW namespace to your autoloader:

<?php
// app/autoload.php

$loader->registerNamespaces(array(
    // ...
    'MarcW' => __DIR__.'/../vendor/bundles',
));

Step 2: Enable the bundle

Finally, enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new MarcW\Bundle\WurstBundle\MarcWWurstBundle(),
    );
}

Contributing

If you got some nice wurst ascii art, feel free to contribute ;)

Credits

Big props to all the sfday 2011 attendees!