da/api-client-bundle

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

Installs: 17 581

Dependents: 1

Stars: 2

Watchers: 5

Forks: 0

Open Issues: 0

Type: symfony-bundle

v1.3.0 2016-01-15 16:55 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