-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathconfig.php
More file actions
41 lines (35 loc) · 1.02 KB
/
Copy pathconfig.php
File metadata and controls
41 lines (35 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
declare(strict_types=1);
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),
/**
* The prefix used to cache the results.
*
* E.g.: `[CACHE_PREFIX].75170fc230cd88f32e475ff4087f81d9`
*/
'cache_prefix' => 'igdb_cache',
/**
* 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'),
];