dev-master
9999999-devPrints a nice wurst to your shell.
MIT
The Requires
- php >=5.3.2
wurst
Prints a nice wurst to your shell.
Prints a nice wurst to your shell. , (*1)
Installation is a quick (I promise!) 3 step process:, (*3)
Ultimately, the MarcWWurstBundle files should be downloaded to the
vendor/marcw/wurst-bundle/MarcW/Bundle/WurstBundle
directory., (*4)
This can be done in several ways, depending on your preference. The first method is the standard Symfony2 method., (*5)
Using Composer, (*6)
Add MarcWWurstBundle in your composer.json:, (*7)
``` json { "require": { "marcw/wurst-bundle": "dev-master" } }, (*8)
``` bash $ php composer.phar require marcw/wurst-bundle
Using submodules, (*9)
If you prefer instead to use git submodules, then run the following:, (*10)
``` bash $ git submodule add git://github.com/marcw/MarcWWurstBundle.git vendor/bundles/MarcW/Bundle/WurstBundle $ git submodule update --init, (*11)
Note that using submodules requires manually registering the `MarcW` namespace to your autoloader: ``` php <?php // app/autoload.php $loader->registerNamespaces(array( // ... 'MarcW' => __DIR__.'/../vendor/bundles', ));
Finally, enable the bundle in the kernel:, (*12)
``` php <?php // app/AppKernel.php, (*13)
public function registerBundles() { $bundles = array( // ... new MarcW\Bundle\WurstBundle\MarcWWurstBundle(), ); } ```, (*14)
If you got some nice wurst ascii art, feel free to contribute ;), (*15)
Big props to all the sfday 2011 attendees!, (*16)
Prints a nice wurst to your shell.
MIT
wurst