idci/agreement-bundle

Symfony bundle to handle agreement management features general conditions

v1.0.0 2018-06-07 14:05 UTC

This package is auto-updated.

Last update: 2024-04-24 20:41:57 UTC


README

AgreementBundle is a symfony bundle to manage agreement bundle like general conditions.

Installation

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 }

Tests (using docker)

Install bundle dependencies:

$ make composer-update

To execute unit tests:

$ make phpunit