da/api-client-bundle

DaApiClientBundle is a Symfony2's bundle allowing to discuss in a simple and secure way with an API.

Installs: 7 600

Dependents: 1

Stars: 2

Watchers: 4

Language: PHP

v1.2.4 2015-05-21 15:28 UTC

README

DaApiClientBundle is a Symfony2's bundle allowing to discuss in a simple and secure way with an API.

Installation

Add dependencies in your composer.json file:

"require": {
    ...
    "doctrine/doctrine-cache-bundle": "~1.0",
    "da/api-client-bundle": "dev-master"
},

Install these new dependencies of your application:

$ php composer.phar update

Enable bundles in your application kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(),
        new Da\ApiClientBundle\DaApiClientBundle(),
    );
}

Documentation

Read the Documentation

Tests

Install bundle dependencies:

$ php composer.phar update

To execute unit tests:

$ phpunit --coverage-text