注册 文件系统

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

View File

@ -54,6 +54,8 @@
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Register Config Files | Register Config Files
@ -77,6 +79,7 @@
$app->configure('drops'); $app->configure('drops');
$app->configure('forum'); $app->configure('forum');
$app->configure('broadcasting'); $app->configure('broadcasting');
$app->configure('filesystems');
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -132,6 +135,8 @@
// $app->register(Freyo\Flysystem\QcloudCOSv5\ServiceProvider::class); // $app->register(Freyo\Flysystem\QcloudCOSv5\ServiceProvider::class);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Load The Application Routes | Load The Application Routes

View File

@ -19,7 +19,7 @@
"illuminate/redis": "^9.28", "illuminate/redis": "^9.28",
"jenssegers/mongodb": "^3.9", "jenssegers/mongodb": "^3.9",
"laravel/lumen-framework": "^9.0", "laravel/lumen-framework": "^9.0",
"league/flysystem": " ~1.0", "league/flysystem": "^3.5",
"mmghv/lumen-route-binding": "^1.0", "mmghv/lumen-route-binding": "^1.0",
"mongodb/mongodb": "^1.13", "mongodb/mongodb": "^1.13",
"predis/predis": "^2.0", "predis/predis": "^2.0",

87
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "fd66c4ee8569c7d6da2b461551711a01", "content-hash": "d20ffe8a5f297dbec078d9db0cd58c70",
"packages": [ "packages": [
{ {
"name": "adbario/php-dot-notation", "name": "adbario/php-dot-notation",
@ -3807,16 +3807,16 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "1.1.9", "version": "3.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "094defdb4a7001845300334e7c1ee2335925ef99" "reference": "c73c4eb31f2e883b3897ab5591aa2dbc48112433"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/c73c4eb31f2e883b3897ab5591aa2dbc48112433",
"reference": "094defdb4a7001845300334e7c1ee2335925ef99", "reference": "c73c4eb31f2e883b3897ab5591aa2dbc48112433",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -3826,41 +3826,36 @@
] ]
}, },
"require": { "require": {
"ext-fileinfo": "*", "league/mime-type-detection": "^1.0.0",
"league/mime-type-detection": "^1.3", "php": "^8.0.2"
"php": "^7.2.5 || ^8.0"
}, },
"conflict": { "conflict": {
"league/flysystem-sftp": "<1.0.6" "aws/aws-sdk-php": "3.209.31 || 3.210.0",
"guzzlehttp/guzzle": "<7.0",
"guzzlehttp/ringphp": "<1.1.1",
"phpseclib/phpseclib": "3.0.15",
"symfony/http-client": "<5.2"
}, },
"require-dev": { "require-dev": {
"phpspec/prophecy": "^1.11.1", "async-aws/s3": "^1.5",
"phpunit/phpunit": "^8.5.8" "async-aws/simple-s3": "^1.0",
}, "aws/aws-sdk-php": "^3.198.1",
"suggest": { "composer/semver": "^3.0",
"ext-ftp": "Allows you to use FTP server storage", "ext-fileinfo": "*",
"ext-openssl": "Allows you to use FTPS server storage", "ext-ftp": "*",
"league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", "ext-zip": "*",
"league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", "friendsofphp/php-cs-fixer": "^3.5",
"league/flysystem-azure": "Allows you to use Windows Azure Blob storage", "google/cloud-storage": "^1.23",
"league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", "microsoft/azure-storage-blob": "^1.1",
"league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", "phpseclib/phpseclib": "^3.0.14",
"league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", "phpstan/phpstan": "^0.12.26",
"league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", "phpunit/phpunit": "^9.5.11",
"league/flysystem-webdav": "Allows you to use WebDAV storage", "sabre/dav": "^4.3.1"
"league/flysystem-ziparchive": "Allows you to use ZipArchive adapter",
"spatie/flysystem-dropbox": "Allows you to use Dropbox storage",
"srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"League\\Flysystem\\": "src/" "League\\Flysystem\\": "src"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
@ -3870,40 +3865,42 @@
"authors": [ "authors": [
{ {
"name": "Frank de Jonge", "name": "Frank de Jonge",
"email": "info@frenky.net" "email": "info@frankdejonge.nl"
} }
], ],
"description": "Filesystem abstraction: Many filesystems, one API.", "description": "File storage abstraction for PHP",
"keywords": [ "keywords": [
"Cloud Files",
"WebDAV", "WebDAV",
"abstraction",
"aws", "aws",
"cloud", "cloud",
"copy.com", "file",
"dropbox",
"file systems",
"files", "files",
"filesystem", "filesystem",
"filesystems", "filesystems",
"ftp", "ftp",
"rackspace",
"remote",
"s3", "s3",
"sftp", "sftp",
"storage" "storage"
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/flysystem/issues", "issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/1.1.9" "source": "https://github.com/thephpleague/flysystem/tree/3.5.2"
}, },
"funding": [ "funding": [
{ {
"url": "https://offset.earth/frankdejonge", "url": "https://ecologi.com/frankdejonge",
"type": "other" "type": "custom"
},
{
"url": "https://github.com/frankdejonge",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/league/flysystem",
"type": "tidelift"
} }
], ],
"time": "2021-12-09T09:40:50+00:00" "time": "2022-09-23T18:59:16+00:00"
}, },
{ {
"name": "league/mime-type-detection", "name": "league/mime-type-detection",