dev-master
9999999-devSymfony SimpleApiClientBundle
MIT
The Requires
- php >=7.0.12
- guzzlehttp/guzzle ~6.0
- symfony/serializer ~3.4
- symfony/dependency-injection ~3.4
- symfony/config ~3.4
- symfony/yaml ~3.4
The Development Requires
Symfony SimpleApiClientBundle
Symfony3 bundle for getting JSON-encoded locations data stored in predefined format., (*2)
Require the alxxc/simple-api-client-bundle
package in your composer.json and update your dependencies., (*3)
$ composer require alxxc/simple-api-client-bundle:dev-master
Add the SimpleApiClientBundle to your application's kernel (if needed):, (*4)
public function registerBundles() { $bundles = [ ... new SimpleApiClientBundle\SimpleApiClientBundle(), ... ]; ... }
Bundle provides service simple_api_client.client for loading locations data, (*5)
$container->get('simple_api_client.client')->loadLocations($url);
Symfony SimpleApiClientBundle
MIT