2017 © Pedro Peláez
 

symfony-bundle git-debug-bundle

Adds useful Git information to the Symfony2 Debug Toolbar

image

leek/git-debug-bundle

Adds useful Git information to the Symfony2 Debug Toolbar

  • Friday, February 12, 2016
  • by leek
  • Repository
  • 1 Watchers
  • 22 Stars
  • 12,601 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

LeekGitDebugBundle Maintenance

Adds useful Git information to the Symfony2 debug toolbar., (*1)

Current branch in toolbar (Symfony 2.1)

Example Toolbar, (*2)

Branch list in menu

Example Menu #1, (*3)

Tag list in menu

Example Menu #2, (*4)

Installation (Symfony 2.0.x only)

1. Add the following to your deps file:
    [LeekGitDebugBundle]
        git=git://github.com/leek/GitDebugBundle.git
        target=bundles/Leek/GitDebugBundle
        version=origin/2.0
2. Run the vendors install script:
php bin/vendors install
3. Add the Leek namespace to app/autoload.php:
<?php
// ...
    $loader->registerNamespaces(array(
        // ...
        'Leek'                         => __DIR__.'/../vendor/bundles',
4. Setup the bundle to load only on your dev or test environment(s) in app/appKernel.php:
<?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., (*5)

Note: A composer.json file is also provided if you prefer to use Composer. The require key is: leek/git-debug-bundle, (*6)

The Versions

12/02 2016

dev-master

9999999-dev https://github.com/leek/GitDebugBundle

Adds useful Git information to the Symfony2 Debug Toolbar

  Sources   Download

MIT

The Requires

 

debug git toolbar

30/04 2012

2.0.x-dev

2.0.9999999.9999999-dev https://github.com/leek/GitDebugBundle

Adds useful Git information to the Symfony2 Debug Toolbar

  Sources   Download

MIT

The Requires

 

debug git toolbar leek

31/01 2012

0.1.5

0.1.5.0 https://github.com/leek/GitDebugBundle

Adds useful Git information to Symfony2's Debug Toolbar

  Sources   Download

MIT

The Requires

 

debug git toolbar leek

31/01 2012

0.1.0

0.1.0.0 https://github.com/leek/GitDebugBundle

Adds useful Git information to Symfony2's Debug Toolbar

  Sources   Download

MIT

The Requires

 

debug git toolbar leek