intuitiv/it-collector-bundle

Addons to the dev debug toolbar of Symfony2

v1.0.1 2015-12-03 15:05 UTC

This package is not auto-updated.

Last update: 2024-06-08 17:10:09 UTC


README

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