da/api-client-bundle

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

Installs: 96 393

Dependents: 1

Suggesters: 1

Security: 0

Stars: 3

Watchers: 5

Forks: 3

Open Issues: 0

Type:symfony-bundle

v1.3.1 2018-02-22 10:47 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