snide/scrutinizer-bundle

Scrutinizer client for Symfony2 application

dev-master 2014-03-09 18:40 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:07:50 UTC


README

An quick overview of your repository (Symfony 2 Bundle)

Build Status Scrutinizer Quality Score

Setup

Installation by Composer

If you use composer, add SnideScrutinizerBundle bundle as a dependency to the composer.json of your application

    "require": {
        ...
        "snide/scrutinizer-bundle": "dev-master"
        ...
    },

## Loading


Add the bundle to your app/AppKernel.php under the dev environment
```php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    ...
    $bundles[] = new Snide\Bundle\ScrutinizerBundle\SnideScrutinizerBundle();
}

The bundle needs to copy the resources necessary to the web folder. You can use the command below:

    php app/console assets:install

Configuration

Add the following to your app/config/config_dev.yml (you only want to use this in the dev environment)

snide_scrutinizer:
    repository:
            slug: pdenis/SnideTravinizerBundle # your repository slug
            type: github # github or bitbucket
    # Optional
    filesystem_cache_path: "%kernel.cache_dir%/scrutinizer"

Overview

General

Scrutinizer data

Metrics

Scrutinizer Metrics