Prints some nice würst to your shell
PHP
Switch branches/tags
Nothing to show
Latest commit 133e941 Apr 28, 2016 @marcw Merge pull request #76 from amansilla/master
Fix composer installation instructions
Permalink
Failed to load latest commit information.
Command CS May 19, 2014
Resources
Tests/Command Removing usage of DIRECTORY_SEPARATOR which only should be used when … Feb 8, 2012
MarcWWurstBundle.php Initial würst import Oct 21, 2011
README.md Fix composer installation instructions Apr 28, 2016
composer.json such an important piece of software needs a license, right? Jun 19, 2013

README.md

Wurst bundle.

Prints a nice wurst to your shell.

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!