GithubHelp home page GithubHelp logo

marcwwurstbundle's Introduction

Wurst bundle.

Prints a nice wurst to your shell.

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/bundles/MarcW/Bundle/WurstBundle directory.

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

Using the vendors script

Add the following lines in your deps file:

[MarcWWurstBundle]
    git=git://github.com/marcw/MarcWWurstBundle.git
    target=bundles/MarcW/Bundle/WurstBundle

Now, run the vendors script to download the bundle:

$ php bin/vendors install

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

Step 2: Configure the Autoloader

Add the MarcW namespace to your autoloader:

<?php
// app/autoload.php

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

Step 3: 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!

marcwwurstbundle's People

Contributors

cbourgois avatar datiecher avatar denderello avatar docteurklein avatar gimler avatar jmikola avatar lyrixx avatar marcw avatar naderman avatar odolbeau avatar pinouf avatar ruian avatar tobiassjosten avatar vicb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.