From 7f24a0c66f5e9be5c308f1f79ef874b913daba34 Mon Sep 17 00:00:00 2001 From: Mark O'Keeffe Date: Thu, 29 Mar 2018 09:23:39 +1000 Subject: [PATCH 1/2] Set default endpoint config to null The S3Client does not require an endpoint attribute by default. Passing null is the most sensible default to get this package working out of the box. --- src/config/cdn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/cdn.php b/src/config/cdn.php index 0ff2a22..634d399 100644 --- a/src/config/cdn.php +++ b/src/config/cdn.php @@ -110,7 +110,7 @@ | https://www.digitalocean.com/community/questions/how-to-use-digitalocean-spaces-with-the-aws-s3-sdks?answer=39594 | */ - 'endpoint' => '', + 'endpoint' => null, /* |-------------------------------------------------------------------------- From b3a8e7018a109a9ded61e2f985d0051ecc140cc5 Mon Sep 17 00:00:00 2001 From: Mulia Nasution Date: Thu, 6 Sep 2018 18:56:21 +0700 Subject: [PATCH 2/2] Add support for Laravel 5.7 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index dea44f9..10878d7 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", - "illuminate/config": "5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", + "illuminate/support": "5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*", + "illuminate/config": "5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*", "symfony/finder": "2.*|3.*|4.*", "symfony/console": "2.*|3.*|4.*", "aws/aws-sdk-php": "~3.0"