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
Requires
- php: >=5.5
- ext-curl: *
- doctrine/doctrine-cache-bundle: ~1.0
- symfony/config: >=2.1
- symfony/dependency-injection: >=2.1
Requires (Dev)
- phpunit/phpunit: 3.7.*
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
Tests
Install bundle dependencies:
$ php composer.phar update
To execute unit tests:
$ phpunit --coverage-text