From 3078dfad395c7a462cff87966232cfb3c06c9e4b Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 11 Jul 2022 17:41:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=AE=9E=E7=8E=B0=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=86=85=E9=83=A8=E7=9A=84=E4=B8=8A=E4=BC=A0=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 +- app/admin/controller/Ajax.php | 32 +- .../service/initAdminData/SystemConfig.php | 6 +- app/admin/view/system/config/upload.html | 10 +- app/admin/view/system/uploadfile/add.html | 1 - app/common.php | 26 + app/common/service/UploadService.php | 66 ++ composer.json | 4 +- composer.lock | 982 +++++------------- config/filesystem.php | 5 +- extend/think/filesystem/driver/Qiniu.php | 20 + view/index/welcome.html | 4 +- 12 files changed, 396 insertions(+), 777 deletions(-) create mode 100644 app/common/service/UploadService.php create mode 100644 extend/think/filesystem/driver/Qiniu.php diff --git a/README.md b/README.md index 178e897..68a0a7a 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,6 @@ 新版基于`EasyAdmin`打造,`EasyAdmin`是一款优秀的开源后台框架,致谢. - - - -[![Php Version](https://img.shields.io/badge/php-%3E=7.1.0-brightgreen.svg?maxAge=2592000&color=yellow)](https://github.com/php/php-src) -[![Mysql Version](https://img.shields.io/badge/mysql-%3E=5.7-brightgreen.svg?maxAge=2592000&color=orange)](https://www.mysql.com/) -[![Thinkphp Version](https://img.shields.io/badge/thinkphp-%3E=6.0.2-brightgreen.svg?maxAge=2592000)](https://github.com/top-think/framework) -[![Layui Version](https://img.shields.io/badge/layui-=2.5.5-brightgreen.svg?maxAge=2592000&color=critical)](https://github.com/sentsin/layui) -[![Layuimini Version](https://img.shields.io/badge/layuimini-%3E=2.0.4.2-brightgreen.svg?maxAge=2592000&color=ff69b4)](https://github.com/ulthon/layuimini) -[![ulthon_admin Doc](https://img.shields.io/badge/docs-passing-green.svg?maxAge=2592000)](http://doc.ulthon.com/home/read/ulthon_admin/home.html) -[![ulthon_admin License](https://img.shields.io/badge/license-mulan-green?maxAge=2592000&color=blue)](https://gitee.com/ulthon/ulthon_admin/blob/master/LICENSE) - ## 项目介绍 只为`开发人员`服务,只为`需求定制`服务. @@ -73,7 +62,7 @@ php think run * 文档地址:[http://doc.ulthon.com/home/read/ulthon_admin/home.html](http://doc.ulthon.com/home/read/ulthon_admin/home.html) -* 演示地址:[http://admin.demo.ulthon.com](http://admin.demo.ulthon.com)(账号:admin,密码:123456。备注:只有查看信息的权限) +* 演示地址:[http://admin.demo.ulthon.com/admin](http://admin.demo.ulthon.com/admin)(账号:admin,密码:123456。备注:只有查看信息的权限) ## 代码仓库 @@ -106,9 +95,7 @@ php think run * 对table表格再次封装,在使用上更加舒服 * 根据table的`cols`参数再次进行封装,提供接口实现`image`、`switch`、`list`等功能,再次基础上可以自己再次扩展 * 根据table参数一键生成`搜索表单`,无需自己编写 -* 完善的后台操作日志 - * 记录用户的详细操作信息 - * 按月份进行`分表记录` +* 默认使用数据库记录日志 * 一键部署静态资源到OSS上 * 所有在`public\static`目录下的文件都可以一键部署 * 一个配置项切换静态资源(oss/本地) diff --git a/app/admin/controller/Ajax.php b/app/admin/controller/Ajax.php index 7d7abeb..ddf574a 100644 --- a/app/admin/controller/Ajax.php +++ b/app/admin/controller/Ajax.php @@ -6,9 +6,11 @@ namespace app\admin\controller; use app\admin\model\SystemUploadfile; use app\common\controller\AdminController; use app\common\service\MenuService; +use app\common\service\UploadService; use EasyAdmin\upload\Uploadfile; use think\db\Query; use think\facade\Cache; +use think\facade\Filesystem; class Ajax extends AdminController { @@ -59,27 +61,20 @@ class Ajax extends AdminController 'upload_type' => $this->request->post('upload_type'), 'file' => $this->request->file('file'), ]; - $uploadConfig = sysconfig('upload'); - empty($data['upload_type']) && $data['upload_type'] = $uploadConfig['upload_type']; - $rule = [ - 'upload_type|指定上传类型有误' => "in:{$uploadConfig['upload_allow_type']}", - 'file|文件' => "require|file|fileExt:{$uploadConfig['upload_allow_ext']}|fileSize:{$uploadConfig['upload_allow_size']}", - ]; - $this->validate($data, $rule); + try { - $upload = Uploadfile::instance() - ->setUploadType($data['upload_type']) - ->setUploadConfig($uploadConfig) - ->setFile($data['file']) - ->save(); + + $upload_service = new UploadService($data['upload_type']); + + $upload_service->validateException($data['file']); + + $result = $upload_service->save($data['file']); + } catch (\Exception $e) { $this->error($e->getMessage()); } - if ($upload['save'] == true) { - $this->success($upload['msg'], ['url' => $upload['url']]); - } else { - $this->error($upload['msg']); - } + + $this->success('上传成功', $result); } /** @@ -158,5 +153,4 @@ class Ajax extends AdminController ]; return json($data); } - -} \ No newline at end of file +} diff --git a/app/admin/service/initAdminData/SystemConfig.php b/app/admin/service/initAdminData/SystemConfig.php index fc836c2..dac9593 100644 --- a/app/admin/service/initAdminData/SystemConfig.php +++ b/app/admin/service/initAdminData/SystemConfig.php @@ -17,8 +17,8 @@ $ul_system_config = array( array( "name" => "upload_type", "group" => "upload", - "value" => "local", - "remark" => "当前上传方式 (local,alioss,qnoss,txoss)", + "value" => "local_public", + "remark" => "当前上传方式 local_public,alioss,qnoss,txoss)", "sort" => 0, ), array( @@ -45,7 +45,7 @@ $ul_system_config = array( array( "name" => "upload_allow_type", "group" => "upload", - "value" => "local,alioss,qnoss,txcos", + "value" => "local_public,alioss,qnoss,txcos", "remark" => "可用的上传文件方式", "sort" => 0, ), diff --git a/app/admin/view/system/config/upload.html b/app/admin/view/system/config/upload.html index e4be6bd..5086073 100644 --- a/app/admin/view/system/config/upload.html +++ b/app/admin/view/system/config/upload.html @@ -3,7 +3,7 @@
- {foreach ['local'=>'本地存储','alioss'=>'阿里云oss','qnoss'=>'七牛云oss','txcos'=>'腾讯云cos'] as $key=>$val} + {foreach ['local_public'=>'本地存储','alioss'=>'阿里云oss','qnoss'=>'七牛云oss','txcos'=>'腾讯云cos'] as $key=>$val} {/foreach}
@@ -53,7 +53,7 @@
- 例子:easy-admin + 例子:ulthon-admin
@@ -61,7 +61,7 @@
- 例子:easy-admin.oss-cn-shenzhen.aliyuncs.com + 例子:ulthon-admin.oss-cn-shenzhen.aliyuncs.com
@@ -93,7 +93,7 @@
- 例子:easyadmin-1251997243 + 例子:ulthon-admin-1251997243
@@ -117,7 +117,7 @@
- 例子:easyadmin + 例子:ulthon-admin
diff --git a/app/admin/view/system/uploadfile/add.html b/app/admin/view/system/uploadfile/add.html index 18aa4fe..ebc96a6 100644 --- a/app/admin/view/system/uploadfile/add.html +++ b/app/admin/view/system/uploadfile/add.html @@ -7,7 +7,6 @@
上传文件 - 选择文件
diff --git a/app/common.php b/app/common.php index b9f9f39..a9accb4 100644 --- a/app/common.php +++ b/app/common.php @@ -3,6 +3,7 @@ use app\common\service\AuthService; use think\facade\Cache; +use think\facade\Request; use think\route\Url; if (!function_exists('__url')) { @@ -219,3 +220,28 @@ if (!function_exists('unparse_url')) { return "$scheme$user$pass$host$port$path$query$fragment"; } } + + +function build_upload_url($url) +{ + $config = sysconfig('upload'); + + + $upload_type = $config['upload_type'] ?? 'local_public'; + + $prefix_url = ''; + + switch ($upload_type) { + case 'local_public': + $prefix_url = Request::domain(); + break; + case 'qnoss': + $prefix_url = $config['qnoss_domain']; + break; + + default: + # code... + break; + } + return trim($prefix_url, '/') . '/' . trim($url, '/'); +} diff --git a/app/common/service/UploadService.php b/app/common/service/UploadService.php new file mode 100644 index 0000000..a14fb61 --- /dev/null +++ b/app/common/service/UploadService.php @@ -0,0 +1,66 @@ +uploadType = $upload_type; + } + + public function validate($file, $allow_ext = null, $allow_size = null, $fail_exception = false) + { + $uploadConfig = sysconfig('upload'); + + if (!is_null($allow_ext)) { + $uploadConfig['upload_allow_ext'] = $allow_ext; + } + + if (!is_null($allow_size)) { + $uploadConfig['upload_allow_size'] = $allow_size; + } + + $rule = [ + 'upload_type|指定上传类型有误' => "in:{$uploadConfig['upload_allow_type']}", + 'file|文件' => "require|file|fileExt:{$uploadConfig['upload_allow_ext']}|fileSize:{$uploadConfig['upload_allow_size']}", + ]; + + return Validate::failException($fail_exception)->check([ + 'upload_type' => $this->uploadType, + 'file' => $file + ], $rule); + } + + public function validateException($file, $allow_ext = null, $allow_size = null) + { + return $this->validate($file, $allow_ext, $allow_size, true); + } + + public function save(File $file) + { + + + $save_name = Filesystem::disk($this->uploadType)->putFile('upload', $file, function () { + return date('Ymd') . DIRECTORY_SEPARATOR . uniqid(); + }); + + $url = build_upload_url($save_name); + + return [ + 'url' => $url, + 'save_name' => $save_name + ]; + } +} diff --git a/composer.json b/composer.json index c9804f7..19a46c2 100644 --- a/composer.json +++ b/composer.json @@ -25,13 +25,13 @@ "topthink/think-captcha": "^3.0", "aliyuncs/oss-sdk-php": "^2.3", "qcloud/cos-sdk-v5": "^2.0", - "qiniu/php-sdk": "^7.2", "alibabacloud/client": "^1.5", "zhongshaofa/easy-admin": "^1.0.2", "ext-json": "*", "guzzlehttp/guzzle": "^7.4", "phpoffice/phpspreadsheet": "^1.22", - "topthink/think-migration": "^3.0" + "topthink/think-migration": "^3.0", + "overtrue/flysystem-qiniu": "*" }, "require-dev": { "symfony/var-dumper": "^4.2", diff --git a/composer.lock b/composer.lock index 8d8238e..962f4d4 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "d660a838ed734d7f8a716e40600c4f39", + "content-hash": "fab1facb4504c56c26ac5202c66f3dda", "packages": [ { "name": "adbario/php-dot-notation", @@ -16,15 +16,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/adbario/php-dot-notation/zipball/eee4fc81296531e6aafba4c2bbccfc5adab1676e", + "url": "https://repo.huaweicloud.com/repository/php/adbario/php-dot-notation/2.2.0/adbario-php-dot-notation-2.2.0.zip", "reference": "eee4fc81296531e6aafba4c2bbccfc5adab1676e", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "ext-json": "*", @@ -43,7 +37,6 @@ "Adbar\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -59,10 +52,6 @@ "ArrayAccess", "dotnotation" ], - "support": { - "issues": "https://github.com/adbario/php-dot-notation/issues", - "source": "https://github.com/adbario/php-dot-notation/tree/2.x" - }, "time": "2019-01-01T23:59:15+00:00" }, { @@ -75,15 +64,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aliyun/openapi-sdk-php-client/zipball/19224d92fe27ab8ef501d77d4891e7660bc023c1", + "url": "https://repo.huaweicloud.com/repository/php/alibabacloud/client/1.5.31/alibabacloud-client-1.5.31.zip", "reference": "19224d92fe27ab8ef501d77d4891e7660bc023c1", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "adbario/php-dot-notation": "^2.2", @@ -127,7 +110,6 @@ "AlibabaCloud\\Client\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -150,31 +132,21 @@ "sdk", "tool" ], - "support": { - "issues": "https://github.com/aliyun/openapi-sdk-php-client/issues", - "source": "https://github.com/aliyun/openapi-sdk-php-client" - }, "time": "2021-05-13T06:26:38+00:00" }, { "name": "aliyuncs/oss-sdk-php", - "version": "v2.4.3", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/aliyun/aliyun-oss-php-sdk.git", - "reference": "4ccead614915ee6685bf30016afb01aabd347e46" + "reference": "f0413667d765855eb0aaa728b596801464ffdb06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/4ccead614915ee6685bf30016afb01aabd347e46", - "reference": "4ccead614915ee6685bf30016afb01aabd347e46", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/aliyuncs/oss-sdk-php/v2.5.0/aliyuncs-oss-sdk-php-v2.5.0.zip", + "reference": "f0413667d765855eb0aaa728b596801464ffdb06", + "shasum": "" }, "require": { "php": ">=5.3" @@ -189,7 +161,6 @@ "OSS\\": "src/OSS" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -201,11 +172,7 @@ ], "description": "Aliyun OSS SDK for PHP", "homepage": "http://www.aliyun.com/product/oss/", - "support": { - "issues": "https://github.com/aliyun/aliyun-oss-php-sdk/issues", - "source": "https://github.com/aliyun/aliyun-oss-php-sdk/tree/v2.4.3" - }, - "time": "2021-08-25T13:03:58+00:00" + "time": "2022-05-13T07:41:28+00:00" }, { "name": "clagiordano/weblibs-configmanager", @@ -217,15 +184,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/clagiordano/weblibs-configmanager/zipball/8802c7396d61a923c9a73e37ead062b24bb1b273", + "url": "https://repo.huaweicloud.com/repository/php/clagiordano/weblibs-configmanager/v1.5.0/clagiordano-weblibs-configmanager-v1.5.0.zip", "reference": "8802c7396d61a923c9a73e37ead062b24bb1b273", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "ext-json": "*", @@ -243,7 +204,6 @@ "clagiordano\\weblibs\\configmanager\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "LGPL-3.0-or-later" ], @@ -262,10 +222,6 @@ "tool", "weblibs" ], - "support": { - "issues": "https://github.com/clagiordano/weblibs-configmanager/issues", - "source": "https://github.com/clagiordano/weblibs-configmanager/tree/v1.5.0" - }, "time": "2021-07-12T15:27:21+00:00" }, { @@ -278,15 +234,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danielstjules/Stringy/zipball/df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e", + "url": "https://repo.huaweicloud.com/repository/php/danielstjules/stringy/3.1.0/danielstjules-stringy-3.1.0.zip", "reference": "df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.4.0", @@ -304,7 +254,6 @@ "Stringy\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -328,31 +277,21 @@ "utility", "utils" ], - "support": { - "issues": "https://github.com/danielstjules/Stringy/issues", - "source": "https://github.com/danielstjules/Stringy" - }, "time": "2017-06-12T01:10:27+00:00" }, { "name": "doctrine/annotations", - "version": "1.13.2", + "version": "1.13.3", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08" + "reference": "648b0343343565c4a056bfc8392201385e8d89f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/doctrine/annotations/1.13.3/doctrine-annotations-1.13.3.zip", + "reference": "648b0343343565c4a056bfc8392201385e8d89f0", + "shasum": "" }, "require": { "doctrine/lexer": "1.*", @@ -363,9 +302,10 @@ "require-dev": { "doctrine/cache": "^1.11 || ^2.0", "doctrine/coding-standard": "^6.0 || ^8.1", - "phpstan/phpstan": "^0.12.20", + "phpstan/phpstan": "^1.4.10 || ^1.8.0", "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", - "symfony/cache": "^4.4 || ^5.2" + "symfony/cache": "^4.4 || ^5.2", + "vimeo/psalm": "^4.10" }, "type": "library", "autoload": { @@ -373,7 +313,6 @@ "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -406,11 +345,7 @@ "docblock", "parser" ], - "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.2" - }, - "time": "2021-08-05T19:00:23+00:00" + "time": "2022-07-02T10:48:51+00:00" }, { "name": "doctrine/lexer", @@ -422,15 +357,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "url": "https://repo.huaweicloud.com/repository/php/doctrine/lexer/1.2.3/doctrine-lexer-1.2.3.zip", "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": "^7.1 || ^8.0" @@ -447,7 +376,6 @@ "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -474,10 +402,6 @@ "parser", "php" ], - "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.3" - }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -504,15 +428,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/12ab42bd6e742c70c0a52f7b82477fcd44e64b75", + "url": "https://repo.huaweicloud.com/repository/php/ezyang/htmlpurifier/v4.14.0/ezyang-htmlpurifier-v4.14.0.zip", "reference": "12ab42bd6e742c70c0a52f7b82477fcd44e64b75", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.2" @@ -529,7 +447,6 @@ "/library/HTMLPurifier/Language/" ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ "LGPL-2.1-or-later" ], @@ -545,10 +462,6 @@ "keywords": [ "html" ], - "support": { - "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/v4.14.0" - }, "time": "2021-12-25T01:21:49+00:00" }, { @@ -561,15 +474,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/command/zipball/7883359e0ecab8a8f7c43aad2fc36360a35d21e8", + "url": "https://repo.huaweicloud.com/repository/php/guzzlehttp/command/1.2.2/guzzlehttp-command-1.2.2.zip", "reference": "7883359e0ecab8a8f7c43aad2fc36360a35d21e8", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "guzzlehttp/guzzle": "^7.4.1", @@ -591,7 +498,6 @@ "GuzzleHttp\\Command\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -618,10 +524,6 @@ } ], "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", @@ -640,28 +542,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.4.1", + "version": "7.4.5", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79" + "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79", - "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/guzzlehttp/guzzle/7.4.5/guzzlehttp-guzzle-7.4.5.zip", + "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", + "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "guzzlehttp/psr7": "^1.9 || ^2.4", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -695,7 +591,6 @@ "GuzzleHttp\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -748,10 +643,6 @@ "rest", "web service" ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.1" - }, "funding": [ { "url": "https://github.com/GrahamCampbell", @@ -766,7 +657,7 @@ "type": "tidelift" } ], - "time": "2021-12-06T18:43:05+00:00" + "time": "2022-06-20T22:16:13+00:00" }, { "name": "guzzlehttp/guzzle-services", @@ -778,15 +669,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle-services/zipball/4989d902dd4e0411b320e851c46f3c94d652d891", + "url": "https://repo.huaweicloud.com/repository/php/guzzlehttp/guzzle-services/1.3.2/guzzlehttp-guzzle-services-1.3.2.zip", "reference": "4989d902dd4e0411b320e851c46f3c94d652d891", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "guzzlehttp/command": "^1.2.2", @@ -812,7 +697,6 @@ "GuzzleHttp\\Command\\Guzzle\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -839,10 +723,6 @@ } ], "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", @@ -869,15 +749,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "url": "https://repo.huaweicloud.com/repository/php/guzzlehttp/promises/1.5.1/guzzlehttp-promises-1.5.1.zip", "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.5" @@ -899,7 +773,6 @@ "GuzzleHttp\\Promise\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -929,10 +802,6 @@ "keywords": [ "promise" ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.1" - }, "funding": [ { "url": "https://github.com/GrahamCampbell", @@ -951,23 +820,17 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.1.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72" + "reference": "13388f00956b1503577598873fffb5ae994b5737" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72", - "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/guzzlehttp/psr7/2.4.0/guzzlehttp-psr7-2.4.0.zip", + "reference": "13388f00956b1503577598873fffb5ae994b5737", + "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", @@ -990,7 +853,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -998,7 +861,6 @@ "GuzzleHttp\\Psr7\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1050,10 +912,6 @@ "uri", "url" ], - "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.1.0" - }, "funding": [ { "url": "https://github.com/GrahamCampbell", @@ -1068,7 +926,7 @@ "type": "tidelift" } ], - "time": "2021-10-06T17:43:30+00:00" + "time": "2022-06-20T21:43:11+00:00" }, { "name": "guzzlehttp/uri-template", @@ -1080,15 +938,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/b945d74a55a25a949158444f09ec0d3c120d69e2", + "url": "https://repo.huaweicloud.com/repository/php/guzzlehttp/uri-template/v1.0.1/guzzlehttp-uri-template-v1.0.1.zip", "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", @@ -1109,7 +961,6 @@ "GuzzleHttp\\UriTemplate\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1140,10 +991,6 @@ "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", @@ -1170,15 +1017,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", + "url": "https://repo.huaweicloud.com/repository/php/league/flysystem/1.1.9/league-flysystem-1.1.9.zip", "reference": "094defdb4a7001845300334e7c1ee2335925ef99", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "ext-fileinfo": "*", @@ -1218,7 +1059,6 @@ "League\\Flysystem\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1248,10 +1088,6 @@ "sftp", "storage" ], - "support": { - "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" - }, "funding": [ { "url": "https://offset.earth/frankdejonge", @@ -1270,15 +1106,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-cached-adapter/zipball/d1925efb2207ac4be3ad0c40b8277175f99ffaff", + "url": "https://repo.huaweicloud.com/repository/php/league/flysystem-cached-adapter/1.1.0/league-flysystem-cached-adapter-1.1.0.zip", "reference": "d1925efb2207ac4be3ad0c40b8277175f99ffaff", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "league/flysystem": "~1.0", @@ -1300,7 +1130,6 @@ "League\\Flysystem\\Cached\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1311,31 +1140,21 @@ } ], "description": "An adapter decorator to enable meta-data caching.", - "support": { - "issues": "https://github.com/thephpleague/flysystem-cached-adapter/issues", - "source": "https://github.com/thephpleague/flysystem-cached-adapter/tree/master" - }, "time": "2020-07-25T15:56:04+00:00" }, { "name": "league/mime-type-detection", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "3e4a35d756eedc67096f30240a68a3149120dae7" + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3e4a35d756eedc67096f30240a68a3149120dae7", - "reference": "3e4a35d756eedc67096f30240a68a3149120dae7", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/league/mime-type-detection/1.11.0/league-mime-type-detection-1.11.0.zip", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "shasum": "" }, "require": { "ext-fileinfo": "*", @@ -1352,7 +1171,6 @@ "League\\MimeTypeDetection\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1363,10 +1181,6 @@ } ], "description": "Mime-type detection for Flysystem", - "support": { - "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.10.0" - }, "funding": [ { "url": "https://github.com/frankdejonge", @@ -1377,39 +1191,35 @@ "type": "tidelift" } ], - "time": "2022-04-11T12:49:04+00:00" + "time": "2022-04-17T13:12:02+00:00" }, { "name": "maennchen/zipstream-php", - "version": "2.1.0", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/maennchen/ZipStream-PHP.git", - "reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58" + "reference": "211e9ba1530ea5260b45d90c9ea252f56ec52729" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/c4c5803cc1f93df3d2448478ef79394a5981cc58", - "reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/maennchen/zipstream-php/2.2.1/maennchen-zipstream-php-2.2.1.zip", + "reference": "211e9ba1530ea5260b45d90c9ea252f56ec52729", + "shasum": "" }, "require": { "myclabs/php-enum": "^1.5", - "php": ">= 7.1", + "php": "^7.4 || ^8.0", "psr/http-message": "^1.0", "symfony/polyfill-mbstring": "^1.0" }, "require-dev": { "ext-zip": "*", - "guzzlehttp/guzzle": ">= 6.3", + "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0", "mikey179/vfsstream": "^1.6", - "phpunit/phpunit": ">= 7.5" + "php-coveralls/php-coveralls": "^2.4", + "phpunit/phpunit": "^8.5.8 || ^9.4.2", + "vimeo/psalm": "^4.1" }, "type": "library", "autoload": { @@ -1417,7 +1227,6 @@ "ZipStream\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1444,17 +1253,13 @@ "stream", "zip" ], - "support": { - "issues": "https://github.com/maennchen/ZipStream-PHP/issues", - "source": "https://github.com/maennchen/ZipStream-PHP/tree/master" - }, "funding": [ { "url": "https://opencollective.com/zipstream", "type": "open_collective" } ], - "time": "2020-05-30T13:11:16+00:00" + "time": "2022-05-18T15:52:06+00:00" }, { "name": "markbaker/complex", @@ -1466,15 +1271,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/ab8bc271e404909db09ff2d5ffa1e538085c0f22", + "url": "https://repo.huaweicloud.com/repository/php/markbaker/complex/3.0.1/markbaker-complex-3.0.1.zip", "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": "^7.2 || ^8.0" @@ -1491,7 +1290,6 @@ "Complex\\": "classes/src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1507,10 +1305,6 @@ "complex", "mathematics" ], - "support": { - "issues": "https://github.com/MarkBaker/PHPComplex/issues", - "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.1" - }, "time": "2021-06-29T15:32:53+00:00" }, { @@ -1523,15 +1317,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/c66aefcafb4f6c269510e9ac46b82619a904c576", + "url": "https://repo.huaweicloud.com/repository/php/markbaker/matrix/3.0.0/markbaker-matrix-3.0.0.zip", "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": "^7.1 || ^8.0" @@ -1552,7 +1340,6 @@ "Matrix\\": "classes/src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1569,10 +1356,6 @@ "matrix", "vector" ], - "support": { - "issues": "https://github.com/MarkBaker/PHPMatrix/issues", - "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.0" - }, "time": "2021-07-01T19:01:15+00:00" }, { @@ -1585,15 +1368,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/9b87907a81b87bc76d19a7fb2d61e61486ee9edb", + "url": "https://repo.huaweicloud.com/repository/php/mtdowling/jmespath.php/2.6.1/mtdowling-jmespath.php-2.6.1.zip", "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": "^5.4 || ^7.0 || ^8.0", @@ -1620,7 +1397,6 @@ "JmesPath\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1636,39 +1412,30 @@ "json", "jsonpath" ], - "support": { - "issues": "https://github.com/jmespath/jmespath.php/issues", - "source": "https://github.com/jmespath/jmespath.php/tree/2.6.1" - }, "time": "2021-06-14T00:11:39+00:00" }, { "name": "myclabs/php-enum", - "version": "1.6.6", + "version": "1.8.3", "source": { "type": "git", "url": "https://github.com/myclabs/php-enum.git", - "reference": "32c4202886c51fbe5cc3a7c34ec5c9a4a790345e" + "reference": "b942d263c641ddb5190929ff840c68f78713e937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/php-enum/zipball/32c4202886c51fbe5cc3a7c34ec5c9a4a790345e", - "reference": "32c4202886c51fbe5cc3a7c34ec5c9a4a790345e", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/myclabs/php-enum/1.8.3/myclabs-php-enum-1.8.3.zip", + "reference": "b942d263c641ddb5190929ff840c68f78713e937", + "shasum": "" }, "require": { "ext-json": "*", - "php": ">=5.4" + "php": "^7.3 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35|^5.7|^6.0", - "squizlabs/php_codesniffer": "1.*" + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "1.*", + "vimeo/psalm": "^4.6.2" }, "type": "library", "autoload": { @@ -1676,7 +1443,6 @@ "MyCLabs\\Enum\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1691,31 +1457,79 @@ "keywords": [ "enum" ], - "support": { - "issues": "https://github.com/myclabs/php-enum/issues", - "source": "https://github.com/myclabs/php-enum/tree/master" - }, - "time": "2019-02-04T21:18:49+00:00" + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", + "type": "tidelift" + } + ], + "time": "2021-07-05T08:18:36+00:00" }, { - "name": "phpoffice/phpspreadsheet", - "version": "1.22.0", + "name": "overtrue/flysystem-qiniu", + "version": "1.0.6", "source": { "type": "git", - "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "3a9e29b4f386a08a151a33578e80ef1747037a48" + "url": "https://github.com/overtrue/flysystem-qiniu.git", + "reference": "4aad39d76cad4d3a0fd2afa32eb132201f1bf7e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/3a9e29b4f386a08a151a33578e80ef1747037a48", - "reference": "3a9e29b4f386a08a151a33578e80ef1747037a48", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/overtrue/flysystem-qiniu/1.0.6/overtrue-flysystem-qiniu-1.0.6.zip", + "reference": "4aad39d76cad4d3a0fd2afa32eb132201f1bf7e7", + "shasum": "" + }, + "require": { + "league/flysystem": "^1.0", + "php": ">=5.5.9", + "qiniu/php-sdk": "^7.2" + }, + "require-dev": { + "mockery/mockery": "1.3.1", + "php": ">=5.6.0", + "phpunit/phpunit": "~8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Overtrue\\Flysystem\\Qiniu\\": "src" + } + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "overtrue", + "email": "i@overtrue.me" + } + ], + "description": "Flysystem adapter for the Qiniu storage.", + "funding": [ + { + "url": "https://github.com/overtrue", + "type": "github" + } + ], + "time": "2022-06-22T03:11:40+00:00" + }, + { + "name": "phpoffice/phpspreadsheet", + "version": "1.24.0", + "source": { + "type": "git", + "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", + "reference": "ebe8745c92a7cac4514d040758393b5399633b83" + }, + "dist": { + "type": "zip", + "url": "https://repo.huaweicloud.com/repository/php/phpoffice/phpspreadsheet/1.24.0/phpoffice-phpspreadsheet-1.24.0.zip", + "reference": "ebe8745c92a7cac4514d040758393b5399633b83", + "shasum": "" }, "require": { "ext-ctype": "*", @@ -1738,19 +1552,19 @@ "php": "^7.3 || ^8.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0", - "psr/simple-cache": "^1.0" + "psr/simple-cache": "^1.0 || ^2.0" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "dev-master", - "dompdf/dompdf": "^1.0", + "dompdf/dompdf": "^1.0 || ^2.0", "friendsofphp/php-cs-fixer": "^3.2", "jpgraph/jpgraph": "^4.0", - "mpdf/mpdf": "8.0.17", + "mpdf/mpdf": "8.1.1", "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "^1.1", "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^8.5 || ^9.0", - "squizlabs/php_codesniffer": "^3.6", + "squizlabs/php_codesniffer": "^3.7", "tecnickcom/tcpdf": "^6.4" }, "suggest": { @@ -1765,7 +1579,6 @@ "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1801,11 +1614,7 @@ "xls", "xlsx" ], - "support": { - "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.22.0" - }, - "time": "2022-02-18T12:57:07+00:00" + "time": "2022-07-09T13:49:09+00:00" }, { "name": "psr/cache", @@ -1817,15 +1626,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://repo.huaweicloud.com/repository/php/psr/cache/1.0.1/psr-cache-1.0.1.zip", "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.3.0" @@ -1841,7 +1644,6 @@ "Psr\\Cache\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1857,9 +1659,6 @@ "psr", "psr-6" ], - "support": { - "source": "https://github.com/php-fig/cache/tree/master" - }, "time": "2016-08-06T20:24:11+00:00" }, { @@ -1872,15 +1671,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://repo.huaweicloud.com/repository/php/psr/container/1.1.2/psr-container-1.1.2.zip", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.4.0" @@ -1891,7 +1684,6 @@ "Psr\\Container\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1910,10 +1702,6 @@ "container-interop", "psr" ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" - }, "time": "2021-11-05T16:50:12+00:00" }, { @@ -1926,15 +1714,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://repo.huaweicloud.com/repository/php/psr/http-client/1.0.1/psr-http-client-1.0.1.zip", "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": "^7.0 || ^8.0", @@ -1951,7 +1733,6 @@ "Psr\\Http\\Client\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1969,9 +1750,6 @@ "psr", "psr-18" ], - "support": { - "source": "https://github.com/php-fig/http-client/tree/master" - }, "time": "2020-06-29T06:28:15+00:00" }, { @@ -1984,15 +1762,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://repo.huaweicloud.com/repository/php/psr/http-factory/1.0.1/psr-http-factory-1.0.1.zip", "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.0.0", @@ -2009,7 +1781,6 @@ "Psr\\Http\\Message\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2030,9 +1801,6 @@ "request", "response" ], - "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" - }, "time": "2019-04-30T12:38:16+00:00" }, { @@ -2045,15 +1813,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://repo.huaweicloud.com/repository/php/psr/http-message/1.0.1/psr-http-message-1.0.1.zip", "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.3.0" @@ -2069,7 +1831,6 @@ "Psr\\Http\\Message\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2089,9 +1850,6 @@ "request", "response" ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/master" - }, "time": "2016-08-06T14:39:51+00:00" }, { @@ -2104,15 +1862,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://repo.huaweicloud.com/repository/php/psr/log/1.1.4/psr-log-1.1.4.zip", "reference": "d49695b909c3b7628b6289db5479a1c204601f11", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.3.0" @@ -2128,7 +1880,6 @@ "Psr\\Log\\": "Psr/Log/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2145,9 +1896,6 @@ "psr", "psr-3" ], - "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" - }, "time": "2021-05-03T11:20:27+00:00" }, { @@ -2160,15 +1908,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "url": "https://repo.huaweicloud.com/repository/php/psr/simple-cache/1.0.1/psr-simple-cache-1.0.1.zip", "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.3.0" @@ -2184,7 +1926,6 @@ "Psr\\SimpleCache\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2202,30 +1943,21 @@ "psr-16", "simple-cache" ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, "time": "2017-10-23T01:57:42+00:00" }, { "name": "qcloud/cos-sdk-v5", - "version": "v2.5.1", + "version": "v2.5.6", "source": { "type": "git", "url": "https://github.com/tencentyun/cos-php-sdk-v5.git", - "reference": "85d5cb660574a3de6f4a83b76e8b0506e03b9e9a" + "reference": "607ee49d372a799964206b6ae0a9eb2816201c42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/85d5cb660574a3de6f4a83b76e8b0506e03b9e9a", - "reference": "85d5cb660574a3de6f4a83b76e8b0506e03b9e9a", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/qcloud/cos-sdk-v5/v2.5.6/qcloud-cos-sdk-v5-v2.5.6.zip", + "reference": "607ee49d372a799964206b6ae0a9eb2816201c42", + "shasum": "" }, "require": { "ext-curl": "*", @@ -2250,7 +1982,6 @@ "Qcloud\\Cos\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2274,34 +2005,23 @@ "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.1" - }, - "time": "2022-02-16T02:38:37+00:00" + "time": "2022-06-07T14:49:19+00:00" }, { "name": "qiniu/php-sdk", - "version": "v7.4.3", + "version": "v7.4.1", "source": { "type": "git", "url": "https://github.com/qiniu/php-sdk.git", - "reference": "ee5344f319dd7babd86c9a38e6bd05aa58dc90ea" + "reference": "10c7ead8357743b4b987a335c14964fb07700d57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/qiniu/php-sdk/zipball/ee5344f319dd7babd86c9a38e6bd05aa58dc90ea", - "reference": "ee5344f319dd7babd86c9a38e6bd05aa58dc90ea", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/qiniu/php-sdk/v7.4.1/qiniu-php-sdk-v7.4.1.zip", + "reference": "10c7ead8357743b4b987a335c14964fb07700d57", + "shasum": "" }, "require": { - "myclabs/php-enum": "1.6.6", "php": ">=5.3.3" }, "require-dev": { @@ -2318,7 +2038,6 @@ "Qiniu\\": "src/Qiniu" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2337,11 +2056,7 @@ "sdk", "storage" ], - "support": { - "issues": "https://github.com/qiniu/php-sdk/issues", - "source": "https://github.com/qiniu/php-sdk/tree/v7.4.3" - }, - "time": "2022-04-01T08:49:57+00:00" + "time": "2021-09-24T09:39:16+00:00" }, { "name": "ralouphie/getallheaders", @@ -2353,15 +2068,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "url": "https://repo.huaweicloud.com/repository/php/ralouphie/getallheaders/3.0.3/ralouphie-getallheaders-3.0.3.zip", "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.6" @@ -2376,7 +2085,6 @@ "src/getallheaders.php" ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2387,15 +2095,11 @@ } ], "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, "time": "2019-03-08T08:55:37+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", @@ -2403,15 +2107,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://repo.huaweicloud.com/repository/php/symfony/deprecation-contracts/v2.5.2/symfony-deprecation-contracts-v2.5.2.zip", "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.1" @@ -2431,7 +2129,6 @@ "function.php" ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2447,9 +2144,6 @@ ], "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2468,23 +2162,17 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/symfony/polyfill-ctype/v1.26.0/symfony-polyfill-ctype-v1.26.0.zip", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "shasum": "" }, "require": { "php": ">=7.1" @@ -2498,7 +2186,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2513,7 +2201,6 @@ "Symfony\\Polyfill\\Ctype\\": "" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2535,9 +2222,6 @@ "polyfill", "portable" ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2552,27 +2236,21 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/symfony/polyfill-mbstring/v1.26.0/symfony-polyfill-mbstring-v1.26.0.zip", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "shasum": "" }, "require": { "php": ">=7.1" @@ -2586,7 +2264,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2601,7 +2279,6 @@ "Symfony\\Polyfill\\Mbstring\\": "" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2624,9 +2301,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2641,27 +2315,21 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/symfony/polyfill-php80/v1.26.0/symfony-polyfill-php80-v1.26.0.zip", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "shasum": "" }, "require": { "php": ">=7.1" @@ -2669,7 +2337,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2687,7 +2355,6 @@ "Resources/stubs" ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2713,9 +2380,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -2730,7 +2394,7 @@ "type": "tidelift" } ], - "time": "2022-03-04T08:16:47+00:00" + "time": "2022-05-10T07:21:04+00:00" }, { "name": "symfony/yaml", @@ -2742,15 +2406,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/02c1859112aa779d9ab394ae4f3381911d84052b", + "url": "https://repo.huaweicloud.com/repository/php/symfony/yaml/v2.8.52/symfony-yaml-v2.8.52.zip", "reference": "02c1859112aa779d9ab394ae4f3381911d84052b", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=5.3.9", @@ -2770,7 +2428,6 @@ "/Tests/" ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -2786,9 +2443,6 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/yaml/tree/v2.8.52" - }, "time": "2018-11-11T11:18:13+00:00" }, { @@ -2801,15 +2455,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/framework/zipball/e478316ac843c1a884a3b3a7a94db17c4001ff5c", + "url": "https://repo.huaweicloud.com/repository/php/topthink/framework/v6.0.12/topthink-framework-v6.0.12.zip", "reference": "e478316ac843c1a884a3b3a7a94db17c4001ff5c", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "ext-json": "*", @@ -2837,7 +2485,6 @@ "think\\": "src/think/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -2858,31 +2505,21 @@ "orm", "thinkphp" ], - "support": { - "issues": "https://github.com/top-think/framework/issues", - "source": "https://github.com/top-think/framework/tree/v6.0.12" - }, "time": "2022-01-21T06:31:07+00:00" }, { "name": "topthink/think-captcha", - "version": "v3.0.4", + "version": "v3.0.7", "source": { "type": "git", "url": "https://github.com/top-think/think-captcha.git", - "reference": "db5be361d3cd664d236fb95d5dffe93a117283ad" + "reference": "a450602932a5d9ba183e288b79921ba3b9a92331" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-captcha/zipball/db5be361d3cd664d236fb95d5dffe93a117283ad", - "reference": "db5be361d3cd664d236fb95d5dffe93a117283ad", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-captcha/v3.0.7/topthink-think-captcha-v3.0.7.zip", + "reference": "a450602932a5d9ba183e288b79921ba3b9a92331", + "shasum": "" }, "require": { "topthink/framework": "^6.0.0" @@ -2906,7 +2543,6 @@ "think\\captcha\\": "src/" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -2917,11 +2553,7 @@ } ], "description": "captcha package for thinkphp", - "support": { - "issues": "https://github.com/top-think/think-captcha/issues", - "source": "https://github.com/top-think/think-captcha/tree/v3.0.4" - }, - "time": "2022-01-07T06:34:19+00:00" + "time": "2022-04-23T02:38:14+00:00" }, { "name": "topthink/think-helper", @@ -2933,15 +2565,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-helper/zipball/769acbe50a4274327162f9c68ec2e89a38eb2aff", + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-helper/v3.1.6/topthink-think-helper-v3.1.6.zip", "reference": "769acbe50a4274327162f9c68ec2e89a38eb2aff", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.1.0" @@ -2958,7 +2584,6 @@ "think\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -2969,10 +2594,6 @@ } ], "description": "The ThinkPHP6 Helper Package", - "support": { - "issues": "https://github.com/top-think/think-helper/issues", - "source": "https://github.com/top-think/think-helper/tree/v3.1.6" - }, "time": "2021-12-15T04:27:55+00:00" }, { @@ -2985,15 +2606,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-migration/zipball/5717d9e5f3ea745f6dbfd1e30b4402aaadff9a79", + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-migration/v3.0.3/topthink-think-migration-v3.0.3.zip", "reference": "5717d9e5f3ea745f6dbfd1e30b4402aaadff9a79", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "topthink/framework": "^6.0.0", @@ -3019,7 +2634,6 @@ "think\\migration\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -3029,10 +2643,6 @@ "email": "448901948@qq.com" } ], - "support": { - "issues": "https://github.com/top-think/think-migration/issues", - "source": "https://github.com/top-think/think-migration/tree/v3.0.3" - }, "time": "2020-12-07T05:54:22+00:00" }, { @@ -3045,15 +2655,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-multi-app/zipball/ccaad7c2d33f42cb1cc2a78d6610aaec02cea4c3", + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-multi-app/v1.0.14/topthink-think-multi-app-v1.0.14.zip", "reference": "ccaad7c2d33f42cb1cc2a78d6610aaec02cea4c3", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.1.0", @@ -3072,7 +2676,6 @@ "think\\app\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -3083,31 +2686,21 @@ } ], "description": "thinkphp6 multi app support", - "support": { - "issues": "https://github.com/top-think/think-multi-app/issues", - "source": "https://github.com/top-think/think-multi-app/tree/master" - }, "time": "2020-07-12T13:50:37+00:00" }, { "name": "topthink/think-orm", - "version": "v2.0.52", + "version": "v2.0.53", "source": { "type": "git", "url": "https://github.com/top-think/think-orm.git", - "reference": "407a60658f37fc57422ab95a9922c6f69af90f46" + "reference": "06783eda65547a70ea686360a897759e1f873fff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-orm/zipball/407a60658f37fc57422ab95a9922c6f69af90f46", - "reference": "407a60658f37fc57422ab95a9922c6f69af90f46", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-orm/v2.0.53/topthink-think-orm-v2.0.53.zip", + "reference": "06783eda65547a70ea686360a897759e1f873fff", + "shasum": "" }, "require": { "ext-json": "*", @@ -3129,7 +2722,6 @@ "think\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -3144,11 +2736,7 @@ "database", "orm" ], - "support": { - "issues": "https://github.com/top-think/think-orm/issues", - "source": "https://github.com/top-think/think-orm/tree/v2.0.52" - }, - "time": "2022-01-25T06:00:05+00:00" + "time": "2022-02-28T14:54:22+00:00" }, { "name": "topthink/think-template", @@ -3160,15 +2748,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-template/zipball/abfc293f74f9ef5127b5c416310a01fe42e59368", + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-template/v2.0.8/topthink-think-template-v2.0.8.zip", "reference": "abfc293f74f9ef5127b5c416310a01fe42e59368", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.1.0", @@ -3180,7 +2762,6 @@ "think\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -3191,10 +2772,6 @@ } ], "description": "the php template engine", - "support": { - "issues": "https://github.com/top-think/think-template/issues", - "source": "https://github.com/top-think/think-template/tree/v2.0.8" - }, "time": "2020-12-10T07:52:03+00:00" }, { @@ -3207,15 +2784,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-view/zipball/edce0ae2c9551ab65f9e94a222604b0dead3576d", + "url": "https://repo.huaweicloud.com/repository/php/topthink/think-view/v1.0.14/topthink-think-view-v1.0.14.zip", "reference": "edce0ae2c9551ab65f9e94a222604b0dead3576d", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.1.0", @@ -3227,7 +2798,6 @@ "think\\view\\driver\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "Apache-2.0" ], @@ -3238,10 +2808,6 @@ } ], "description": "thinkphp template driver", - "support": { - "issues": "https://github.com/top-think/think-view/issues", - "source": "https://github.com/top-think/think-view/tree/v1.0.14" - }, "time": "2019-11-06T11:40:13+00:00" }, { @@ -3254,15 +2820,9 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zhongshaofa/easyadmin-sdk/zipball/89670cc868d476b81672817110cd5789edfabac7", + "url": "https://repo.huaweicloud.com/repository/php/zhongshaofa/easy-admin/v1.0.2/zhongshaofa-easy-admin-v1.0.2.zip", "reference": "89670cc868d476b81672817110cd5789edfabac7", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "doctrine/annotations": "^1.13.1", @@ -3281,7 +2841,6 @@ "EasyAdmin\\": "src" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -3292,10 +2851,6 @@ } ], "description": "EasyAdmin工具,https://github.com/zhongshaofa/easyadmin-sdk", - "support": { - "issues": "https://github.com/zhongshaofa/easyadmin-sdk/issues", - "source": "https://github.com/zhongshaofa/easyadmin-sdk/tree/v1.0.2" - }, "time": "2021-09-20T14:28:06+00:00" } ], @@ -3310,22 +2865,15 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wudi/swoole-ide-helper/zipball/70147a030c2dd5c1171bedae3a31970f3bf9c280", + "url": "https://repo.huaweicloud.com/repository/php/eaglewu/swoole-ide-helper/dev-master/eaglewu-swoole-ide-helper-dev-master.zip", "reference": "70147a030c2dd5c1171bedae3a31970f3bf9c280", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "shasum": "" }, "require": { "php": ">=7.0" }, "default-branch": true, "type": "library", - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -3348,31 +2896,21 @@ "sublime", "swoole" ], - "support": { - "issues": "https://github.com/wudi/swoole-ide-helper/issues", - "source": "https://github.com/wudi/swoole-ide-helper/tree/master" - }, "time": "2021-06-02T17:13:45+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/symfony/polyfill-php72/v1.26.0/symfony-polyfill-php72-v1.26.0.zip", + "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", + "shasum": "" }, "require": { "php": ">=7.1" @@ -3380,7 +2918,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3395,7 +2933,6 @@ "Symfony\\Polyfill\\Php72\\": "" } }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -3417,9 +2954,6 @@ "portable", "shim" ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3434,27 +2968,21 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:17:38+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/var-dumper", - "version": "v4.4.39", + "version": "v4.4.42", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "35237c5e5dcb6593a46a860ba5b29c1d4683d80e" + "reference": "742aab50ad097bcb62d91fccb613f66b8047d2ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/35237c5e5dcb6593a46a860ba5b29c1d4683d80e", - "reference": "35237c5e5dcb6593a46a860ba5b29c1d4683d80e", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] + "url": "https://repo.huaweicloud.com/repository/php/symfony/var-dumper/v4.4.42/symfony-var-dumper-v4.4.42.zip", + "reference": "742aab50ad097bcb62d91fccb613f66b8047d2ca", + "shasum": "" }, "require": { "php": ">=7.1.3", @@ -3492,7 +3020,6 @@ "/Tests/" ] }, - "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -3512,9 +3039,6 @@ "debug", "dump" ], - "support": { - "source": "https://github.com/symfony/var-dumper/tree/v4.4.39" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3529,7 +3053,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T10:38:15+00:00" + "time": "2022-05-21T10:00:54+00:00" } ], "aliases": [], @@ -3544,5 +3068,5 @@ "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/config/filesystem.php b/config/filesystem.php index 2593ed5..807c5ca 100644 --- a/config/filesystem.php +++ b/config/filesystem.php @@ -11,7 +11,7 @@ return [ 'type' => 'local', 'root' => app()->getRuntimePath() . 'storage', ], - 'public' => [ + 'local_public' => [ // 磁盘类型 'type' => 'local', // 磁盘路径 @@ -21,6 +21,9 @@ return [ // 可见性 'visibility' => 'public', ], + 'qnoss' => [ + 'type' => 'Qiniu' + ] // 更多的磁盘配置信息 ], ]; diff --git a/extend/think/filesystem/driver/Qiniu.php b/extend/think/filesystem/driver/Qiniu.php new file mode 100644 index 0000000..8a6f059 --- /dev/null +++ b/extend/think/filesystem/driver/Qiniu.php @@ -0,0 +1,20 @@ +{$data.description|default=''}

起步 - GitHub - Gitee + + Gitee