IntuitivTechnology / ITCollectorBundle

Addons to the dev debug toolbar of Symfony2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ITCollectorBundle

This bundle will allow you to add some extra features to your Symfony2 dev debug toolbar.

Git

You will be able to view, directly in the toolbar, if your local git branch is up-to-date compared to the distant branch.
You can also add some extra useful links in it (Link to the Gitlab/Github project for example).

Installation

For Symfony < 2.8, use stable branch.
For Symfony >= 2.8, use dev-master branch.

Step 1: Download ITCollectorBundle using Composer

$ composer require intuitiv/it-collector-bundle

# symfony >= 2.8
$ composer require intuitiv/it-collector-bundle dev-master

Step 2: Enable the bundle

Finally, enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Intuitiv\ITCollectorBundle\ITCollectorBundle(),
    );
}

?>

Step 3 Change parameters in your config.yml

it_collector:
    git:
        branch: develop # default : master
        urls: # optional, add additional links
            - {'name': 'Gitlab', 'url': 'http://gitlab.company.com/bundle/my-project' }

Authors

About

Addons to the dev debug toolbar of Symfony2

License:MIT License


Languages

Language:PHP 62.2%Language:HTML 37.8%