forked frommarcreichel/igdb-laravel
- Notifications
You must be signed in to change notification settings - Fork0
Simplify the integration of the IGDB API into your Laravel app. With IGDB webhook support.
License
NotificationsYou must be signed in to change notification settings
Slatyo/igdb-laravel
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a Laravel wrapper for version 4 of theIGDB API (Apicalypse) includingwebhook handling since version 2.3.0.
You can install this package via composer using:
composer require marcreichel/igdb-laravel
The package will automatically register its service provider.
To publish the config file toconfig/igdb.php run:
php artisan igdb:publish
This is the default content of the config file:
return [/* * These are the credentials you got from https://dev.twitch.tv/console/apps */'credentials' => ['client_id' =>env('TWITCH_CLIENT_ID',''),'client_secret' =>env('TWITCH_CLIENT_SECRET',''), ],/* * This package caches queries automatically (for 1 hour per default). * Here you can set how long each query should be cached (in seconds). * * To turn cache off set this value to 0 */'cache_lifetime' =>env('IGDB_CACHE_LIFETIME',3600),/* * Path where the webhooks should be handled. */'webhook_path' =>'igdb-webhook/handle',/* * The webhook secret. * * This needs to be a string of your choice in order to use the webhook * functionality. */'webhook_secret' =>env('IGDB_WEBHOOK_SECRET',null),];
You will find the full documentation onthe dedicated documentation site.
Run the tests with:
composertest- Restructure/Optimize Builder class for better code quality
Pull requests are welcome :)
About
Simplify the integration of the IGDB API into your Laravel app. With IGDB webhook support.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- PHP100.0%
