2017 © Pedro Peláez
 

symfony-bundle json-api-client-bundle

Symfony integration for enm/json-api-client

image

enm/json-api-client-bundle

Symfony integration for enm/json-api-client

  • Tuesday, December 5, 2017
  • by eosnewmedia
  • Repository
  • 4 Watchers
  • 0 Stars
  • 982 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

JSON API Client Bundle

The Symfony integration for enm/json-api-client., (*1)

  1. Installation
  2. Configuration
  3. Usage

Installation

composer require enm/json-api-client-bundle

It's recommended to install kriswallsmith/buzz as http-client and nyholm/psr7 for http factories., (*2)

composer require kriswallsmith/buzz nyholm/psr7

You can also use any HTTP client which implements PSR-18., (*3)

Configuration

<?php
// config/bundles.php
    return [
        // ...
         Enm\Bundle\JsonApi\Client\EnmJsonApiClientBundle::class =>['all'=>true],
        // ...
    ];
enm_json_api_client:
    clients: # requires at least one element, the key will be your client name
        api: 'http://example.com/api'

Usage

The bundle offers a private service (only used for dependency injection, not for direct calls via service container) for each configured client. The service name will be enm.json_api_client.YOUR_CLIENT_NAME., (*4)

The Versions

05/12 2017

dev-master

9999999-dev

Symfony integration for enm/json-api-client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien

05/12 2017
05/12 2017

dev-develop

dev-develop

Symfony integration for enm/json-api-client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien

06/09 2017

1.0.1

1.0.1.0

Symfony integration for enm/json-api-client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien

04/09 2017

1.0.0

1.0.0.0

Symfony integration for enm/json-api-client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Marien