Adds useful Git information to the Symfony2 debug toolbar.
    [LeekGitDebugBundle]
        git=git://github.com/leek/GitDebugBundle.git
        target=bundles/Leek/GitDebugBundle
        version=origin/2.0php bin/vendors install
<?php
// ...
    $loader->registerNamespaces(array(
        // ...
        'Leek'                         => __DIR__.'/../vendor/bundles',<?php
// ...
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        // ...
        $bundles[] = new Leek\GitDebugBundle\LeekGitDebugBundle();That's it! You should now see your current Git branch on the debug toolbar.
Note: A
composer.jsonfile is also provided if you prefer to use Composer. Therequirekey is: leek/git-debug-bundle


