devmachine/guzzle-client-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Integration of devmachine Guzzle clients into Symfony.

1.0.2 2015-12-23 08:43 UTC

This package is not auto-updated.

Last update: 2018-09-04 18:38:22 UTC


README

Build Status

SensioLabsInsight

Devmachine Guzzle clients integration into Symfony 2.

Installation

Install this bundle using Composer. Add the following to your composer.json (note the addition of relevant client libraries):

{
    "require": {
        "devmachine/guzzle-client-bundle": "1.0.*",
        "devmachine/guzzle-markus-client": "~1.1",
        "devmachine/guzzle-rottentomatoes-client": "~1.0"
    }
}

Register bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...

        new Devmachine\Bundle\GuzzleClientBundle\DevmachineGuzzleClientBundle(),
    );
}

Update config:

devmachine_guzzle_client:
    # Enable default clients
    markus: ~
    
    # Setup RottenTomatoes client
    rotten_tomatoes: %rotten_tomatoes.api_key%

More info

# Console commands
$ ./app/console | grep devmachine:guzzle-client

# Configuration reference
$ ./app/console config:dump-reference devmachine_guzzle_client

# Available services
$ ./app/console container:debug | grep devmachine_guzzle_client