2017 © Pedro Peláez
 

symfony-bundle simple-api-client-bundle

Symfony SimpleApiClientBundle

image

alxxc/simple-api-client-bundle

Symfony SimpleApiClientBundle

  • Sunday, December 10, 2017
  • by alxxc
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SimpleApiClientBundle

Build Status, (*1)

About

Symfony3 bundle for getting JSON-encoded locations data stored in predefined format., (*2)

Installation

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(),
            ...
        ];
        ...
    }

Usage

Bundle provides service simple_api_client.client for loading locations data, (*5)

    $container->get('simple_api_client.client')->loadLocations($url);

The Versions

10/12 2017