mattsches/version-eye-bundle

Symfony MattschesVersionEyeBundle

Installs: 2 439

Dependents: 0

Stars: 14

Watchers: 2

Forks: 6

Open Issues: 2

Language: PHP

0.4.0 2013-03-29 22:40 UTC

README

Build Status SensioLabsInsight

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.