dborsatto / giantbomb-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Symfony bundle built on top of the dborsatto/php-giantbomb package.
v1.0.0
2017-02-04 18:53 UTC
Requires
- dborsatto/php-giantbomb: ^1.0.0
README
This is a Symfony bundle built on top of the dborsatto/php-giantbomb package.
Installation
Install it with composer:
composer require dborsatto/giantbomb-bundle
Configuration
First, register the bundle in your AppKernel
// ...
new DBorsatto\GiantBombBundle\GiantBombBundle(),
// ...
Then you only need to add an api_key to you config.yml.
giantbomb:
api_key: YOUR_KEY_HERE
Use
The bundle provides a shortcut to the Client object:
// Inside a controller $client = $this->get('giantbomb.client'); $results = $client->search('Uncharted', 'game,franchise');
For all possible uses refer to the dborsatto/php-giantbomb documentation.