mattsches/version-eye-bundle

Symfony MattschesVersionEyeBundle

Installs: 2 695

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 3

Forks: 5

Open Issues: 0

Type:symfony-bundle

0.5.1 2016-08-16 13:25 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:55:31 UTC


README

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.