jdecool/git-profiler-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Add Git repository informations into Symfony profiler

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:HTML

Type:symfony-bundle

1.1.0 2017-07-09 10:54 UTC

This package is not auto-updated.

Last update: 2020-01-24 15:52:14 UTC


README

Just add Git branch/repository informations into the Symfony profiler.

Installation

Simply run assuming you have installed composer :

$ php composer.phar require jdecool/git-profiler-bundle "^1.0"

Configuration

Register the bundle in app/AppKernel.php :

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(/* ... */);

    if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
        // ...
        $bundles[] = new JDecool\Bundle\GitProfilerBundle\JDecoolGitProfilerBundle();
    }

    return $bundles;
}

Your git binary path is discovered using which git where supported but you can specifically set the path via config :

j_decool_git_profiler:
    git_binary_path: /usr/local/bin/git