Skip to content

Instantly share code, notes, and snippets.

@Tjoosten
Created December 25, 2019 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tjoosten/ccf663379b465f9f419bf0efaa990392 to your computer and use it in GitHub Desktop.
Save Tjoosten/ccf663379b465f9f419bf0efaa990392 to your computer and use it in GitHub Desktop.
From 3c7fdc4e024239ed0ec1920bcde4c75ccf3f042c Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:00:00 +0100
Subject: [PATCH 01/10] Session config-sycn
---
config/session.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config/session.php b/config/session.php
index d2e8872..97caf9a 100644
--- a/config/session.php
+++ b/config/session.php
@@ -14,7 +14,7 @@
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file", "cookie", "database", "apc",
- | "memcached", "redis", "array"
+ | "memcached", "redis", "dynamodb", "array"
|
*/
@@ -92,9 +92,9 @@
| Session Cache Store
|--------------------------------------------------------------------------
|
- | When using the "apc" or "memcached" session drivers, you may specify a
- | cache store that should be used for these sessions. This value must
- | correspond with one of the application's configured cache stores.
+ | When using the "apc", "memcached", or "dynamodb" session drivers you may
+ | list a cache store that should be used for these sessions. This value
+ | must match with one of the application's configured cache "stores".
|
*/
From 1d6a2ccae8ffa057278e0a7b4162d6824c089390 Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:01:03 +0100
Subject: [PATCH 02/10] Services config sync
---
config/services.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/config/services.php b/config/services.php
index 0086ef2..2a1d616 100644
--- a/config/services.php
+++ b/config/services.php
@@ -20,6 +20,10 @@
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
+ 'postmark' => [
+ 'token' => env('POSTMARK_TOKEN'),
+ ],
+
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
From eea709a851a0bc41db94ae5eac2e670f3002ffa3 Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:01:44 +0100
Subject: [PATCH 03/10] Update queue sync
---
config/queue.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/queue.php b/config/queue.php
index 57ae29d..3a30d6c 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -46,6 +46,7 @@
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
+ 'block_for' => 0,
],
'sqs' => [
From ef932deeea61d79c808175e42d4cc0ddb1b2b506 Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:02:49 +0100
Subject: [PATCH 04/10] Config sync
---
config/mail.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/mail.php b/config/mail.php
index 46d4611..3c65eb3 100644
--- a/config/mail.php
+++ b/config/mail.php
@@ -12,7 +12,7 @@
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
- | "postmark" "log", "array"
+ | "postmark", "log", "array"
|
*/
From 73efc92aaaec985bb5e9dbd1aa18765b24f22a81 Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:04:37 +0100
Subject: [PATCH 05/10] Loggin config sync
---
config/logging.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/logging.php b/config/logging.php
index 6b6227a..088c204 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -38,6 +38,7 @@
'stack' => [
'driver' => 'stack',
'channels' => ['single'],
+ 'ignore_exceptions' => false,
],
'single' => [
@@ -62,7 +63,7 @@
],
'papertrail' => [
- 'driver' => 'monolog',
+ 'driver' => 'monolog',
'level' => 'debug',
'handler' => SyslogUdpHandler::class,
'handler_with' => [
From 441cc80a9a26d15f60c68e41b3cc9ce5cca1f0f1 Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:05:12 +0100
Subject: [PATCH 06/10] Sync filesystems config
---
config/filesystems.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/filesystems.php b/config/filesystems.php
index 827aeb4..ec6a7ce 100644
--- a/config/filesystems.php
+++ b/config/filesystems.php
@@ -37,7 +37,7 @@
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
|
- | Supported Drivers: "local", "ftp", "sftp", "s3",
+ | Supported Drivers: "local", "ftp", "sftp", "s3"
|
*/
From 4fd15e9822e1c59c6b3bb0f5b3af866a6ab4050e Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:05:56 +0100
Subject: [PATCH 07/10] Database config sync
---
config/database.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config/database.php b/config/database.php
index bbde7b7..199382d 100644
--- a/config/database.php
+++ b/config/database.php
@@ -118,6 +118,7 @@
*/
'redis' => [
+
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
@@ -140,6 +141,7 @@
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_CACHE_DB', 1),
],
+
],
];
From 9d786e5a45ce199257baf2d5e411049d7c6d0ebf Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:06:28 +0100
Subject: [PATCH 08/10] Cache config sync
---
config/cache.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/config/cache.php b/config/cache.php
index 3de37c9..46751e6 100644
--- a/config/cache.php
+++ b/config/cache.php
@@ -13,7 +13,8 @@
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
- | Supported: "apc", "array", "database", "file", "memcached", "redis"
+ | Supported: "apc", "array", "database", "file",
+ | "memcached", "redis", "dynamodb"
|
*/
@@ -59,7 +60,7 @@
env('MEMCACHED_PASSWORD'),
],
'options' => [
- // Memcached::OPT_CONNECT_TIMEOUT => 2000,
+ // Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
[
From 8de2a3f4323e2288da8f12f979fc93483c16fd26 Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:07:45 +0100
Subject: [PATCH 09/10] Broadcasting sync
---
config/broadcasting.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/broadcasting.php b/config/broadcasting.php
index 9174a1c..3bba110 100644
--- a/config/broadcasting.php
+++ b/config/broadcasting.php
@@ -37,7 +37,7 @@
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
- 'useTlS' => true,
+ 'useTLS' => true,
],
],
From 6c93267ce6d0381b31f30006b5acae9cdca3d8ac Mon Sep 17 00:00:00 2001
From: Tim Joosten <Tjoosten3@gmail.com>
Date: Wed, 25 Dec 2019 10:08:35 +0100
Subject: [PATCH 10/10] Sync auth config
---
config/auth.php | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/config/auth.php b/config/auth.php
index 9a37e7d..ba1a4d8 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -44,6 +44,7 @@
'api' => [
'driver' => 'token',
'provider' => 'users',
+ 'hash' => false,
],
],
@@ -101,14 +102,15 @@
],
/*
- |--------------------------------------------------------------------------
- | Password confirmation Timeout
- |--------------------------------------------------------------------------
- |
- | Here you may define the amount of seconds before a password confirmation
- | times out and the user is prompted to re-enter their password via the
- | confirmation screen. By default, the timeout lasts for three hours.
- */
+ |--------------------------------------------------------------------------
+ | Password Confirmation Timeout
+ |--------------------------------------------------------------------------
+ |
+ | Here you may define the amount of seconds before a password confirmation
+ | times out and the user is prompted to re-enter their password via the
+ | confirmation screen. By default, the timeout lasts for three hours.
+ |
+ */
'password_timeout' => 10800,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment