Laravel 13 support

This commit is contained in:
DariusIII
2026-03-26 10:48:12 +01:00
parent 925f2d5383
commit 6aee2ef718
39 changed files with 1741 additions and 1050 deletions
-2
View File
@@ -5,7 +5,6 @@ use App\Facades\Yenc;
use Creativeorange\Gravatar\Facades\Gravatar;
use Illuminate\Support\Facades\Facade;
use Illuminate\Support\Facades\Redis;
use Jrean\UserVerification\Facades\UserVerification;
return [
@@ -30,7 +29,6 @@ return [
'Google2FA' => PragmaRX\Google2FALaravel\Facade::class,
'Gravatar' => Gravatar::class,
'RedisManager' => Redis::class,
'UserVerification' => UserVerification::class,
'Yenc' => Yenc::class,
])->toArray(),
+5 -15
View File
@@ -1,6 +1,10 @@
<?php
return [
'base_url' => env('IGDB_BASE_URL', 'https://api.igdb.com/v4'),
'token_url' => env('TWITCH_TOKEN_URL', 'https://id.twitch.tv/oauth2/token'),
/*
* These are the credentials you got from https://dev.twitch.tv/console/apps
*/
@@ -10,25 +14,11 @@ return [
],
/*
* This package caches queries automatically (for 1 hour per default).
* Here you can set how long each query should be cached (in seconds).
* The local IGDB client caches query responses for this many seconds.
*
* To turn cache off set this value to 0
*
* Recommended: 86400 (24 hours) for game data that rarely changes
*/
'cache_lifetime' => (int) env('IGDB_CACHE_LIFETIME', 86400),
/*
* 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'),
];
+39 -7
View File
@@ -1,19 +1,51 @@
<?php
return [
'default' => env('MAIL_MAILER', env('MAIL_DRIVER', 'smtp')),
'driver' => env('MAIL_DRIVER', 'smtp'),
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
'port' => env('MAIL_PORT', 587),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN'),
],
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs'),
],
'port' => env('MAIL_PORT', 587),
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'array' => [
'transport' => 'array',
],
'username' => env('MAIL_USERNAME'),
'failover' => [
'transport' => 'failover',
'mailers' => ['smtp', 'log'],
],
],
'password' => env('MAIL_PASSWORD'),
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Laravel')),
],
'sendmail' => '/usr/sbin/sendmail -bs',
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
];