Installation

Prerequisites

PHP 5.3 and Symfony 2.1 are needed to make this bundle work. Also FOSUserBundle needs to be installed and configured beforehand. Please follow all steps described here

Installation

Add bundle requirement to composer.json

"require": {
    ...
    "venis/referral-system-demo-bundle": "dev-master"
    ...
}

Run composer to download library and it’s dependencies

php composer.phar update

Register the bundle in app/AppKernel.php:

<?php
$bundles = array(
    // ...
    new VEnis\Bundle\ReferralSystemDemoBundle\VEnisReferralSystemDemoBundle(),
);