diff --git a/composer.json b/composer.json index bdd6f9e..6a0bc9f 100644 --- a/composer.json +++ b/composer.json @@ -10,9 +10,9 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "^5.1|^6.0", + "illuminate/support": "^5.1|^6.0|^7.0|^8.0", "superbalist/flysystem-google-storage": ">=3.0 <8.0", - "illuminate/filesystem": "^5.1|^6.0", + "illuminate/filesystem": "^5.1|^6.0|^7.0|^8.0", "league/flysystem-cached-adapter": "^1.0" }, "autoload": { diff --git a/src/GoogleCloudStorageServiceProvider.php b/src/GoogleCloudStorageServiceProvider.php index c45aee0..0121aaf 100644 --- a/src/GoogleCloudStorageServiceProvider.php +++ b/src/GoogleCloudStorageServiceProvider.php @@ -26,7 +26,7 @@ protected function createFilesystem(AdapterInterface $adapter, array $config) { $cache = Arr::pull($config, 'cache'); - $config = Arr::only($config, ['visibility', 'disable_asserts', 'url']); + $config = Arr::only($config, ['visibility', 'disable_asserts', 'url', 'metadata']); if ($cache) { $adapter = new CachedAdapter($adapter, $this->createCacheStore($cache));