This commit is contained in:
iVampireSP.com 2022-10-30 10:10:58 +08:00
parent b64ebf412c
commit d604d56812
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
3 changed files with 425 additions and 3 deletions

View File

@ -52,6 +52,14 @@
App\Console\Kernel::class
);
$app->singleton('filesystem', function ($app) {
$app->alias('filesystem', Illuminate\Contracts\Filesystem\Factory::class);
return $app->loadComponent(
'filesystems',
Illuminate\Filesystem\FilesystemServiceProvider::class,
'filesystem'
);
});
@ -132,8 +140,7 @@
// filesystem
$app->register(Illuminate\Filesystem\FilesystemServiceProvider::class);
// $app->register(Freyo\Flysystem\QcloudCOSv5\ServiceProvider::class);
$app->register(Freyo\Flysystem\QcloudCOSv5\ServiceProvider::class);

View File

@ -14,6 +14,7 @@
"anik/form-request": "^4.5",
"doctrine/dbal": "^3.3",
"flipbox/lumen-generator": "^9.1",
"freyo/flysystem-qcloud-cos-v5": "^2.0",
"guzzlehttp/guzzle": "^7.5",
"hhxsv5/laravel-s": "~3.7.0",
"illuminate/redis": "^9.28",

416
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d20ffe8a5f297dbec078d9db0cd58c70",
"content-hash": "4eea65d15fe3433d2e3ac710207e819a",
"packages": [
{
"name": "adbario/php-dot-notation",
@ -1176,6 +1176,79 @@
},
"time": "2022-03-26T00:47:39+00:00"
},
{
"name": "freyo/flysystem-qcloud-cos-v5",
"version": "2.2.1",
"source": {
"type": "git",
"url": "https://github.com/freyo/flysystem-qcloud-cos-v5.git",
"reference": "08c52b51405c92fb0eaa0ec560d168f432ad8582"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/freyo/flysystem-qcloud-cos-v5/zipball/08c52b51405c92fb0eaa0ec560d168f432ad8582",
"reference": "08c52b51405c92fb0eaa0ec560d168f432ad8582",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"ext-json": "*",
"guzzlehttp/guzzle": "~6.0 || ^7.0",
"league/flysystem": "^1.0 || ^2.0 || ^3.0",
"nesbot/carbon": "~1.0 || ^2.0",
"php": ">=5.5.0",
"qcloud/cos-sdk-v5": "^2.0 || dev-guzzle7"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Freyo\\Flysystem\\QcloudCOSv5\\ServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Freyo\\Flysystem\\QcloudCOSv5\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "freyo",
"email": "freyhsiao@gmail.com"
}
],
"description": "Flysystem Adapter for Tencent Qcloud COS SDK V5",
"keywords": [
"flysystem-adapter",
"qcloud",
"qcloud-cos",
"qcloud-sdk"
],
"support": {
"issues": "https://github.com/freyo/flysystem-qcloud-cos-v5/issues",
"source": "https://github.com/freyo/flysystem-qcloud-cos-v5/tree/2.2.1"
},
"funding": [
{
"url": "https://opencollective.com/flysystem-qcloud-cos-v5",
"type": "open_collective"
}
],
"time": "2022-03-27T14:18:34+00:00"
},
{
"name": "fruitcake/php-cors",
"version": "v1.2.0",
@ -1321,6 +1394,93 @@
],
"time": "2021-11-21T21:41:47+00:00"
},
{
"name": "guzzlehttp/command",
"version": "1.2.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/command.git",
"reference": "7883359e0ecab8a8f7c43aad2fc36360a35d21e8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/command/zipball/7883359e0ecab8a8f7c43aad2fc36360a35d21e8",
"reference": "7883359e0ecab8a8f7c43aad2fc36360a35d21e8",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"guzzlehttp/guzzle": "^7.4.1",
"guzzlehttp/promises": "^1.5.1",
"guzzlehttp/psr7": "^1.8.3 || ^2.1",
"php": "^7.2.5 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5.19"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.2-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Command\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Jeremy Lindblom",
"email": "jeremeamia@gmail.com",
"homepage": "https://github.com/jeremeamia"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
}
],
"description": "Provides the foundation for building command-based web service clients",
"support": {
"issues": "https://github.com/guzzle/command/issues",
"source": "https://github.com/guzzle/command/tree/1.2.2"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/command",
"type": "tidelift"
}
],
"time": "2022-02-08T10:21:14+00:00"
},
{
"name": "guzzlehttp/guzzle",
"version": "7.5.0",
@ -1455,6 +1615,97 @@
],
"time": "2022-08-28T15:39:27+00:00"
},
{
"name": "guzzlehttp/guzzle-services",
"version": "1.3.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle-services.git",
"reference": "4989d902dd4e0411b320e851c46f3c94d652d891"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle-services/zipball/4989d902dd4e0411b320e851c46f3c94d652d891",
"reference": "4989d902dd4e0411b320e851c46f3c94d652d891",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"guzzlehttp/command": "^1.2.2",
"guzzlehttp/guzzle": "^7.4.1",
"guzzlehttp/psr7": "^1.8.3 || ^2.1",
"guzzlehttp/uri-template": "^1.0.1",
"php": "^7.2.5 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5.19 || ^9.5.8"
},
"suggest": {
"gimler/guzzle-description-loader": "^0.0.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Command\\Guzzle\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Stefano Kowalke",
"email": "blueduck@mail.org",
"homepage": "https://github.com/Konafets"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
}
],
"description": "Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.",
"support": {
"issues": "https://github.com/guzzle/guzzle-services/issues",
"source": "https://github.com/guzzle/guzzle-services/tree/1.3.2"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle-services",
"type": "tidelift"
}
],
"time": "2022-03-03T11:21:34+00:00"
},
{
"name": "guzzlehttp/promises",
"version": "1.5.2",
@ -1670,6 +1921,96 @@
],
"time": "2022-08-28T14:45:39+00:00"
},
{
"name": "guzzlehttp/uri-template",
"version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/uri-template.git",
"reference": "b945d74a55a25a949158444f09ec0d3c120d69e2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/uri-template/zipball/b945d74a55a25a949158444f09ec0d3c120d69e2",
"reference": "b945d74a55a25a949158444f09ec0d3c120d69e2",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": "^7.2.5 || ^8.0",
"symfony/polyfill-php80": "^1.17"
},
"require-dev": {
"phpunit/phpunit": "^8.5.19 || ^9.5.8",
"uri-template/tests": "1.0.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\UriTemplate\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "George Mponos",
"email": "gmponos@gmail.com",
"homepage": "https://github.com/gmponos"
},
{
"name": "Tobias Nyholm",
"email": "tobias.nyholm@gmail.com",
"homepage": "https://github.com/Nyholm"
}
],
"description": "A polyfill class for uri_template of PHP",
"keywords": [
"guzzlehttp",
"uri-template"
],
"support": {
"issues": "https://github.com/guzzle/uri-template/issues",
"source": "https://github.com/guzzle/uri-template/tree/v1.0.1"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://github.com/Nyholm",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template",
"type": "tidelift"
}
],
"time": "2021-10-07T12:57:01+00:00"
},
{
"name": "hhxsv5/laravel-s",
"version": "v3.7.34",
@ -5728,6 +6069,79 @@
},
"time": "2021-12-07T13:09:00+00:00"
},
{
"name": "qcloud/cos-sdk-v5",
"version": "v2.5.6",
"source": {
"type": "git",
"url": "https://github.com/tencentyun/cos-php-sdk-v5.git",
"reference": "607ee49d372a799964206b6ae0a9eb2816201c42"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/607ee49d372a799964206b6ae0a9eb2816201c42",
"reference": "607ee49d372a799964206b6ae0a9eb2816201c42",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"ext-curl": "*",
"ext-json": "*",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^6.2.1 || ^7.0",
"guzzlehttp/guzzle-services": "^1.1",
"guzzlehttp/psr7": "^1.3.1 || ^2.0",
"php": ">=5.6"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"autoload": {
"files": [
"src/Common.php"
],
"psr-4": {
"Qcloud\\Cos\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "yaozongyou",
"email": "yaozongyou@vip.qq.com"
},
{
"name": "lewzylu",
"email": "327874225@qq.com"
},
{
"name": "tuunalai",
"email": "550566181@qq.com"
}
],
"description": "PHP SDK for QCloud COS",
"keywords": [
"cos",
"php",
"qcloud"
],
"support": {
"issues": "https://github.com/tencentyun/cos-php-sdk-v5/issues",
"source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.5.6"
},
"time": "2022-06-07T14:49:19+00:00"
},
{
"name": "ralouphie/getallheaders",
"version": "3.0.3",