devmachine / guzzle-client-bundle
Integration of devmachine Guzzle clients into Symfony.
Installs: 120
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4.0
- symfony/framework-bundle: ~2.3 || ~3.0
Requires (Dev)
Suggests
- devmachine/guzzle-markus-client: Guzzle client for Markus API e.g. http://forumcinemas.lv/XML.
- devmachine/guzzle-rottentomatoes-client: Guzzle client for RottenTomatoes API.
This package is not auto-updated.
Last update: 2018-09-04 18:38:22 UTC
README
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