jdecool / git-profiler-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Add Git repository informations into Symfony profiler
Package info
github.com/jdecool/GitProfilerBundle
Language:HTML
Type:symfony-bundle
pkg:composer/jdecool/git-profiler-bundle
1.1.0
2017-07-09 10:54 UTC
Requires
- php: >=5.4.0
- cypresslab/gitelephant: ^1.1
- symfony/symfony: ~2.3|~3.0
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