Add andach/igad
to your composer.json
.
"andach/igad": "~1.0"
or
composer require andach/igad
Run composer update
to pull down the latest version of the package.
Now open up app/config/app.php
and add the service provider to your providers
array.
'providers' => array(
Andach\IGAD\IGADServiceProvider::class,
)
Optionally, add the facade to your aliases
array
'IGAD' => \Andach\IGAD\Facades\IGAD::class,
Add the IGAD
to your config/services.php
array
'IGAD' => [
'xboxapikey' => 'YOUR_IGAD_KEY'
]
// TODO
The returned JSON data is decoded as a PHP object.
If you have PHPUnit installed in your environment, run:
$ phpunit