AgreementBundle is a symfony bundle to manage agreement bundle like general conditions.
Add dependencies in your composer.json
file:
"require": {
...
"idci/agreement-bundle": "~1.0"
},
Install these new dependencies in your application using composer:
$ composer update
Register needed bundles in your application kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new IDCI\Bundle\AgreementBundle\IDCIAgreementBundle(),
);
}
Import the bundle configuration:
# app/config/config.yml
imports:
- { resource: @IDCIAgreementBundle/Resources/config/config.yml }
Install bundle dependencies:
$ make composer-update
To execute unit tests:
$ make phpunit