Skip to content

mattsches/VersionEyeBundle

Repository files navigation

VersionEye Bundle

Build Status SensioLabsInsight Dependency Status

Installation

Suggested installation method is through composer:

php composer.phar require mattsches/version-eye-bundle:dev-master

Add the bundle to your app/AppKernel.php under the dev environment

if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            ...
            $bundles[] = new Mattsches\VersionEyeBundle\MattschesVersionEyeBundle();
        }

Setup

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

mattsches_version_eye:
    api_key: YOUR_VERSION_EYE_API_KEY_HERE
    # These two are optional
    base_url: "https://www.versioneye.com/api/v2"
    filesystem_cache_path: "%kernel.cache_dir%/versioneye"
    

A Word Of Caution

Although this plugin caches all requests to the VersionEye servers, it may slow down your project a bit (dev only, of course). In my project, average response time is up to 400ms slower when there is no cache.

Requirements

This bundle requires Symfony version 2.7 or higher. Sorry.