From aca49d4f414df333d9e233daab898d01abfbba05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Mon, 13 Mar 2023 16:26:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E4=BA=86=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=9B=B8=E5=85=B3=E7=9A=84=20rpc=20=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 16 +- composer.lock | 2681 +++++++++++++++++++++++++++++++++---------- src/Sdk/UserRpc.php | 87 +- 3 files changed, 2142 insertions(+), 642 deletions(-) diff --git a/composer.json b/composer.json index 3fc5c3f..7ade137 100755 --- a/composer.json +++ b/composer.json @@ -14,16 +14,18 @@ } }, "require": { - "php": ">=7.4", + "php": ">=8.0", + "ext-redis": "*", "composer/composer": "~2.0.14", - "hyperf/validation": "^2.2.33", - "singularity/hdk-core": "0.1.x-dev", - "symfony/polyfill-php80": "^1.27", - "ext-redis": "*" + "donjan-deng/hyperf-casbin": "^3.21", + "hyperf/validation": "3.0.*", + "singularity/hdk-core": "dev-develop", + "symfony/polyfill-php80": "^1.27" }, "require-dev": { - "phpunit/phpunit": "^9.5", - "firebase/php-jwt": "^6.3" + "firebase/php-jwt": "^6.3", + "guzzlehttp/guzzle": "^7.5", + "phpunit/phpunit": "^9.5" }, "suggest": { "firebase/php-jwt": "^6.3" diff --git a/composer.lock b/composer.lock index ee1e812..f3e2af5 100755 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,137 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1ff66daadc5289b8130627cd575c95b4", + "content-hash": "241ed361e9c1e14fc2af888a55cd4bb8", "packages": [ + { + "name": "casbin/casbin", + "version": "v3.21.0", + "source": { + "type": "git", + "url": "https://github.com/php-casbin/php-casbin.git", + "reference": "c54fafa15c8b648f078098d7edda0ee243513b68" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-casbin/php-casbin/zipball/c54fafa15c8b648f078098d7edda0ee243513b68", + "reference": "c54fafa15c8b648f078098d7edda0ee243513b68", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.1.0", + "s1lentium/iptools": "^1.1", + "symfony/expression-language": "^3.4|^4.0|^5.0|^6.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "php-coveralls/php-coveralls": "^2.1", + "phpstan/phpstan": "^1.2", + "phpunit/phpunit": "~7.0|~8.0|~9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Casbin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "TechLee", + "email": "techlee@qq.com" + } + ], + "description": "a powerful and efficient open-source access control library for php projects.", + "keywords": [ + "abac", + "access control", + "acl", + "authorization", + "casbin", + "permission", + "rbac" + ], + "support": { + "issues": "https://github.com/php-casbin/php-casbin/issues", + "source": "https://github.com/php-casbin/php-casbin/tree/v3.21.0" + }, + "funding": [ + { + "url": "https://opencollective.com/casbin", + "type": "open_collective" + } + ], + "time": "2022-08-24T15:23:45+00:00" + }, + { + "name": "casbin/psr3-bridge", + "version": "v1.3.1", + "source": { + "type": "git", + "url": "https://github.com/php-casbin/psr3-bridge.git", + "reference": "4b8133c77f2dc1093b3adeb5fc3af1e8de3d0eb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-casbin/psr3-bridge/zipball/4b8133c77f2dc1093b3adeb5fc3af1e8de3d0eb1", + "reference": "4b8133c77f2dc1093b3adeb5fc3af1e8de3d0eb1", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "casbin/casbin": "^2.0|^3.0", + "psr/log": "^1.1|^2.0|^3.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "~7.0|~8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Casbin\\Bridge\\Logger\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "TechLee", + "email": "techlee@qq.com" + } + ], + "description": "This library provides a PSR-3 compliant bridge for Casbin Logger.", + "keywords": [ + "acl", + "casbin", + "logger", + "permission", + "psr-3", + "rbac" + ], + "support": { + "issues": "https://github.com/php-casbin/psr3-bridge/issues", + "source": "https://github.com/php-casbin/psr3-bridge/tree/v1.3.1" + }, + "time": "2022-02-05T12:08:12+00:00" + }, { "name": "composer/ca-bundle", "version": "1.3.5", @@ -589,88 +718,6 @@ ], "time": "2022-02-24T20:20:32+00:00" }, - { - "name": "doctrine/annotations", - "version": "1.14.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "ad785217c1e9555a7d6c6c8c9f406395a5e2882b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/ad785217c1e9555a7d6c6c8c9f406395a5e2882b", - "reference": "ad785217c1e9555a7d6c6c8c9f406395a5e2882b", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "doctrine/lexer": "^1 || ^2", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0", - "psr/cache": "^1 || ^2 || ^3" - }, - "require-dev": { - "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "~1.4.10 || ^1.8.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "symfony/cache": "^4.4 || ^5.4 || ^6", - "vimeo/psalm": "^4.10" - }, - "suggest": { - "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "https://www.doctrine-project.org/projects/annotations.html", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.14.2" - }, - "time": "2022-12-15T06:48:22+00:00" - }, { "name": "doctrine/deprecations", "version": "v1.0.0", @@ -977,6 +1024,88 @@ ], "time": "2022-12-14T08:49:07+00:00" }, + { + "name": "donjan-deng/hyperf-casbin", + "version": "3.22.2", + "source": { + "type": "git", + "url": "https://github.com/donjan-deng/hyperf-casbin.git", + "reference": "662377f3b5136083fe509a31cedaa24f47796d4d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/donjan-deng/hyperf-casbin/zipball/662377f3b5136083fe509a31cedaa24f47796d4d", + "reference": "662377f3b5136083fe509a31cedaa24f47796d4d", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "casbin/casbin": "~3.20", + "casbin/psr3-bridge": "~1.3", + "ext-bcmath": "*", + "ext-json": "*", + "ext-pdo": "*", + "ext-redis": "*", + "ext-swoole": ">=4.5", + "hyperf/cache": "~3.0", + "hyperf/command": "~3.0", + "hyperf/config": "~3.0", + "hyperf/database": "~3.0", + "hyperf/db-connection": "~3.0", + "hyperf/logger": "~3.0", + "hyperf/process": "~3.0", + "hyperf/redis": "~3.0", + "hyperf/utils": "~3.0", + "php": ">=8.0" + }, + "require-dev": { + "hyperf/testing": "~3.0", + "mockery/mockery": "^1.0" + }, + "type": "library", + "extra": { + "hyperf": { + "config": "Donjan\\Casbin\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Donjan\\Casbin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Donjan", + "homepage": "https://github.com/donjan-deng", + "role": "Developer" + } + ], + "description": "An authorization library that supports access control models like ACL, RBAC, ABAC in hyperf. ", + "keywords": [ + "abac", + "access-control", + "acl", + "authorization", + "casbin", + "hyperf", + "permission", + "rbac" + ], + "support": { + "issues": "https://github.com/donjan-deng/hyperf-casbin/issues", + "source": "https://github.com/donjan-deng/hyperf-casbin/tree/3.22.2" + }, + "time": "2023-02-16T01:57:41+00:00" + }, { "name": "egulias/email-validator", "version": "3.2.5", @@ -1187,16 +1316,16 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.0.4", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "0690bde05318336c7221785f2a932467f98b64ca" + "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", - "reference": "0690bde05318336c7221785f2a932467f98b64ca", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/a878d45c1914464426dc94da61c9e1d36ae262a8", + "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8", "shasum": "", "mirrors": [ { @@ -1206,11 +1335,11 @@ ] }, "require": { - "php": "^7.0 || ^8.0", - "phpoption/phpoption": "^1.8" + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9" }, "require-dev": { - "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + "phpunit/phpunit": "^8.5.28 || ^9.5.21" }, "type": "library", "autoload": { @@ -1239,7 +1368,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.0" }, "funding": [ { @@ -1251,20 +1380,20 @@ "type": "tidelift" } ], - "time": "2021-11-21T21:41:47+00:00" + "time": "2022-07-30T15:56:11+00:00" }, { - "name": "hyperf/config", - "version": "v2.2.33", + "name": "hyperf/cache", + "version": "v3.0.0-rc.17", "source": { "type": "git", - "url": "https://github.com/hyperf/config.git", - "reference": "9437f45aea36358840c907691e9b28492550e9a3" + "url": "https://github.com/hyperf/cache.git", + "reference": "bba789fc11d7ca2a20ae76cf87d9476be2011344" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/config/zipball/9437f45aea36358840c907691e9b28492550e9a3", - "reference": "9437f45aea36358840c907691e9b28492550e9a3", + "url": "https://api.github.com/repos/hyperf/cache/zipball/bba789fc11d7ca2a20ae76cf87d9476be2011344", + "reference": "bba789fc11d7ca2a20ae76cf87d9476be2011344", "shasum": "", "mirrors": [ { @@ -1274,11 +1403,131 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0", - "symfony/finder": "^5.0" + "psr/simple-cache": "^1.0|^2.0|^3.0" + }, + "suggest": { + "hyperf/di": "Use cache annotations.", + "hyperf/event": "Use listener to delete annotation cache." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "hyperf": { + "config": "Hyperf\\Cache\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Hyperf\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A cache component for hyperf.", + "homepage": "https://hyperf.io", + "keywords": [ + "cache", + "hyperf", + "php" + ], + "support": { + "docs": "https://hyperf.wiki", + "issues": "https://github.com/hyperf/hyperf/issues", + "pull-request": "https://github.com/hyperf/hyperf/pulls", + "source": "https://github.com/hyperf/hyperf" + }, + "time": "2022-11-22T04:45:19+00:00" + }, + { + "name": "hyperf/command", + "version": "v3.0.9", + "source": { + "type": "git", + "url": "https://github.com/hyperf/command.git", + "reference": "7d7d013ffaedfc4805cff9097850b937e95561eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/command/zipball/7d7d013ffaedfc4805cff9097850b937e95561eb", + "reference": "7d7d013ffaedfc4805cff9097850b937e95561eb", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/utils": "~3.0.0", + "php": ">=8.0", + "psr/event-dispatcher": "^1.0", + "symfony/console": "^5.0|^6.0" + }, + "suggest": { + "hyperf/di": "Required to use annotations." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Hyperf\\Command\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Command for hyperf", + "keywords": [ + "command", + "php", + "swoole" + ], + "support": { + "issues": "https://github.com/hyperf/command/issues", + "source": "https://github.com/hyperf/command/tree/v3.0.9" + }, + "time": "2023-03-01T05:30:24+00:00" + }, + { + "name": "hyperf/config", + "version": "v3.0.0-rc.8", + "source": { + "type": "git", + "url": "https://github.com/hyperf/config.git", + "reference": "dbab570287af7b7d79967446b7f4703c4ffaba8e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/config/zipball/dbab570287af7b7d79967446b7f4703c4ffaba8e", + "reference": "dbab570287af7b7d79967446b7f4703c4ffaba8e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", + "psr/container": "^1.0|^2.0", + "symfony/finder": "^5.0|^6.0" }, "suggest": { "hyperf/di": "Allows using @Value annotation", @@ -1289,7 +1538,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Config\\ConfigProvider" @@ -1322,20 +1571,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-08-30T06:33:36+00:00" }, { "name": "hyperf/constants", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/constants.git", - "reference": "adb652d446bde384af9ad907cfabe900f3dd08b8" + "reference": "561a5e509cfdc08323b21f8d6fd4e9f11b941906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/constants/zipball/adb652d446bde384af9ad907cfabe900f3dd08b8", - "reference": "adb652d446bde384af9ad907cfabe900f3dd08b8", + "url": "https://api.github.com/repos/hyperf/constants/zipball/561a5e509cfdc08323b21f8d6fd4e9f11b941906", + "reference": "561a5e509cfdc08323b21f8d6fd4e9f11b941906", "shasum": "", "mirrors": [ { @@ -1345,9 +1594,9 @@ ] }, "require": { - "hyperf/di": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2" + "hyperf/di": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0" }, "suggest": { "hyperf/translation": "Required to use translation." @@ -1355,7 +1604,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Constants\\ConfigProvider" @@ -1383,20 +1632,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { "name": "hyperf/context", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/context.git", - "reference": "f2e77442693a07d47f7ca97f8b2fdb8e17196a47" + "reference": "95cd634ece12f1f4898d10815060090191d59527" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/context/zipball/f2e77442693a07d47f7ca97f8b2fdb8e17196a47", - "reference": "f2e77442693a07d47f7ca97f8b2fdb8e17196a47", + "url": "https://api.github.com/repos/hyperf/context/zipball/95cd634ece12f1f4898d10815060090191d59527", + "reference": "95cd634ece12f1f4898d10815060090191d59527", "shasum": "", "mirrors": [ { @@ -1406,13 +1655,13 @@ ] }, "require": { - "hyperf/engine": "^1.1", - "php": ">=7.2" + "hyperf/engine": "^1.2|^2.0", + "php": ">=8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1438,20 +1687,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { "name": "hyperf/contract", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/contract.git", - "reference": "1ebf037c91d76ec05af9e5cb3335b0f5ec810e27" + "reference": "ec465d74f94341ff9b979cc4a3f0e2ededc05040" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/contract/zipball/1ebf037c91d76ec05af9e5cb3335b0f5ec810e27", - "reference": "1ebf037c91d76ec05af9e5cb3335b0f5ec810e27", + "url": "https://api.github.com/repos/hyperf/contract/zipball/ec465d74f94341ff9b979cc4a3f0e2ededc05040", + "reference": "ec465d74f94341ff9b979cc4a3f0e2ededc05040", "shasum": "", "mirrors": [ { @@ -1461,12 +1710,12 @@ ] }, "require": { - "php": ">=7.2" + "php": ">=8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1491,20 +1740,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { - "name": "hyperf/database", - "version": "v2.2.36", + "name": "hyperf/coordinator", + "version": "v3.0.5", "source": { "type": "git", - "url": "https://github.com/hyperf/database.git", - "reference": "4c3c14be042df2dfa2728c77958eeeb538af50b1" + "url": "https://github.com/hyperf/coordinator.git", + "reference": "e101901c3a780c02fc77681780020a21019f4c96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/database/zipball/4c3c14be042df2dfa2728c77958eeeb538af50b1", - "reference": "4c3c14be042df2dfa2728c77958eeeb538af50b1", + "url": "https://api.github.com/repos/hyperf/coordinator/zipball/e101901c3a780c02fc77681780020a21019f4c96", + "reference": "e101901c3a780c02fc77681780020a21019f4c96", "shasum": "", "mirrors": [ { @@ -1514,10 +1763,65 @@ ] }, "require": { - "hyperf/macroable": "~2.2.0", - "hyperf/utils": "~2.2.8", + "hyperf/engine": "^1.2|^2.0", + "php": ">=8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Hyperf\\Coordinator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Hyperf Coordinator", + "homepage": "https://hyperf.io", + "keywords": [ + "Coordinator", + "hyperf", + "php", + "swoole" + ], + "support": { + "docs": "https://hyperf.wiki", + "issues": "https://github.com/hyperf/hyperf/issues", + "pull-request": "https://github.com/hyperf/hyperf/pulls", + "source": "https://github.com/hyperf/hyperf" + }, + "time": "2023-02-04T06:57:02+00:00" + }, + { + "name": "hyperf/database", + "version": "v3.0.8", + "source": { + "type": "git", + "url": "https://github.com/hyperf/database.git", + "reference": "0c601cb6f8c22f6a9c2573c1606c0afddf038d83" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/database/zipball/0c601cb6f8c22f6a9c2573c1606c0afddf038d83", + "reference": "0c601cb6f8c22f6a9c2573c1606c0afddf038d83", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/macroable": "~3.0.0", + "hyperf/utils": "~3.0.0", "nesbot/carbon": "^2.0", - "php": ">=7.2", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/event-dispatcher": "^1.0" }, @@ -1529,7 +1833,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1554,20 +1858,84 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-12-11T00:27:46+00:00" + "time": "2023-02-22T22:53:11+00:00" }, { - "name": "hyperf/di", - "version": "v2.2.33", + "name": "hyperf/db-connection", + "version": "v3.0.10", "source": { "type": "git", - "url": "https://github.com/hyperf/di.git", - "reference": "471c3cf9e0c02ab3aaa0c6e9884062bd541e4577" + "url": "https://github.com/hyperf/db-connection.git", + "reference": "41bce318d56324eed160cba882b8bbad948ea09c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/di/zipball/471c3cf9e0c02ab3aaa0c6e9884062bd541e4577", - "reference": "471c3cf9e0c02ab3aaa0c6e9884062bd541e4577", + "url": "https://api.github.com/repos/hyperf/db-connection/zipball/41bce318d56324eed160cba882b8bbad948ea09c", + "reference": "41bce318d56324eed160cba882b8bbad948ea09c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/database": "~3.0.0", + "hyperf/di": "~3.0.0", + "hyperf/framework": "~3.0.0", + "hyperf/model-listener": "~3.0.0", + "hyperf/pool": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", + "psr/container": "^1.0|^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "hyperf": { + "config": "Hyperf\\DbConnection\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Hyperf\\DbConnection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A hyperf db connection handler for hyperf/database.", + "homepage": "https://hyperf.io", + "keywords": [ + "Connection", + "database", + "hyperf", + "php" + ], + "support": { + "docs": "https://hyperf.wiki", + "issues": "https://github.com/hyperf/hyperf/issues", + "pull-request": "https://github.com/hyperf/hyperf/pulls", + "source": "https://github.com/hyperf/hyperf" + }, + "time": "2023-03-07T03:01:35+00:00" + }, + { + "name": "hyperf/di", + "version": "v3.0.8", + "source": { + "type": "git", + "url": "https://github.com/hyperf/di.git", + "reference": "d91726be1b0dd6eebae88af7ebe7c5385c44f84e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/di/zipball/d91726be1b0dd6eebae88af7ebe7c5385c44f84e", + "reference": "d91726be1b0dd6eebae88af7ebe7c5385c44f84e", "shasum": "", "mirrors": [ { @@ -1577,13 +1945,12 @@ ] }, "require": { - "doctrine/annotations": "^1.6", "doctrine/instantiator": "^1.0", "nikic/php-parser": "^4.1", - "php": ">=7.3", + "php": ">=8.0", "php-di/phpdoc-reader": "^2.2", "psr/container": "^1.0|^2.0", - "symfony/finder": "^5.0", + "symfony/finder": "^5.0|^6.0", "vlucas/phpdotenv": "^5.0" }, "suggest": { @@ -1593,7 +1960,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Di\\ConfigProvider" @@ -1623,20 +1990,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2023-02-25T03:14:03+00:00" }, { "name": "hyperf/dispatcher", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/dispatcher.git", - "reference": "bcffa8faa11367204c4e00e93f6425d600603e03" + "reference": "f506c5102583d69b7225fc7045ee707a65d2b4d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/dispatcher/zipball/bcffa8faa11367204c4e00e93f6425d600603e03", - "reference": "bcffa8faa11367204c4e00e93f6425d600603e03", + "url": "https://api.github.com/repos/hyperf/dispatcher/zipball/f506c5102583d69b7225fc7045ee707a65d2b4d0", + "reference": "f506c5102583d69b7225fc7045ee707a65d2b4d0", "shasum": "", "mirrors": [ { @@ -1646,8 +2013,8 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/http-message": "^1.0", "psr/http-server-middleware": "^1.0" @@ -1655,7 +2022,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Dispatcher\\ConfigProvider" @@ -1686,20 +2053,95 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-08-30T06:33:36+00:00" }, { "name": "hyperf/engine", - "version": "v1.4.1", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/hyperf/engine.git", - "reference": "e512298a2079acb824c9cad3984344f24c16777c" + "reference": "7a7a2a4fa4087a55fdd5507f874ca7f4bf6f837a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/engine/zipball/e512298a2079acb824c9cad3984344f24c16777c", - "reference": "e512298a2079acb824c9cad3984344f24c16777c", + "url": "https://api.github.com/repos/hyperf/engine/zipball/7a7a2a4fa4087a55fdd5507f874ca7f4bf6f837a", + "reference": "7a7a2a4fa4087a55fdd5507f874ca7f4bf6f837a", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/engine-contract": "~1.4.0", + "php": ">=8.0" + }, + "conflict": { + "ext-swoole": "<5.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.0", + "hyperf/guzzle": "^3.0", + "hyperf/http-message": " 3.0.*", + "mockery/mockery": "^1.5", + "phpstan/phpstan": "^1.0", + "phpunit/phpunit": "^9.4", + "swoole/ide-helper": "dev-master" + }, + "suggest": { + "ext-swoole": ">=5.0", + "hyperf/http-message": "Required to use ResponseEmitter.", + "psr/http-message": "Required to use WebSocket Frame." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + }, + "hyperf": { + "config": "Hyperf\\Engine\\ConfigProvider" + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Hyperf\\Engine\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Coroutine engine provided by swoole.", + "keywords": [ + "engine", + "hyperf", + "php", + "swoole" + ], + "support": { + "issues": "https://github.com/hyperf/engine/issues", + "source": "https://github.com/hyperf/engine/tree/v2.4.0" + }, + "time": "2023-02-21T05:49:41+00:00" + }, + { + "name": "hyperf/engine-contract", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/hyperf/engine-contract.git", + "reference": "a3d092a532d738dfb48d8065c37cb1f3625887a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/engine-contract/zipball/a3d092a532d738dfb48d8065c37cb1f3625887a3", + "reference": "a3d092a532d738dfb48d8065c37cb1f3625887a3", "shasum": "", "mirrors": [ { @@ -1713,55 +2155,56 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "hyperf/guzzle": "^2.2", - "hyperf/http-message": " ^2.0", + "mockery/mockery": "^1.0", "phpstan/phpstan": "^1.0", - "phpunit/phpunit": "^9.4", - "swoole/ide-helper": "dev-master" + "phpunit/phpunit": ">=7.0", + "psr/http-message": "^1.0", + "swoole/ide-helper": "^4.5" }, "suggest": { - "ext-swoole": ">=4.5" + "psr/http-message": "Required to use WebSocket Frame." }, "type": "library", "extra": { "branch-alias": { "dev-master": "1.4-dev" - }, - "hyperf": { - "config": "Hyperf\\Engine\\ConfigProvider" } }, "autoload": { "psr-4": { - "Hyperf\\Engine\\": "src/" + "Hyperf\\Engine\\Contract\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], + "description": "Contract for Coroutine Engine", "keywords": [ + "contract", + "coroutine", + "engine", "hyperf", "php" ], "support": { - "issues": "https://github.com/hyperf/engine/issues", - "source": "https://github.com/hyperf/engine/tree/v1.4.1" + "issues": "https://github.com/hyperf/engine-contract/issues", + "source": "https://github.com/hyperf/engine-contract/tree/v1.4.0" }, - "time": "2023-01-09T07:40:28+00:00" + "time": "2023-01-11T02:44:20+00:00" }, { "name": "hyperf/event", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/event.git", - "reference": "cd92f5c1218c65f29b15c4d12dcf5835e0426ac8" + "reference": "e10cd5e8b7f02bad9c542c3592b495debba9a39a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/event/zipball/cd92f5c1218c65f29b15c4d12dcf5835e0426ac8", - "reference": "cd92f5c1218c65f29b15c4d12dcf5835e0426ac8", + "url": "https://api.github.com/repos/hyperf/event/zipball/e10cd5e8b7f02bad9c542c3592b495debba9a39a", + "reference": "e10cd5e8b7f02bad9c542c3592b495debba9a39a", "shasum": "", "mirrors": [ { @@ -1771,8 +2214,8 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "php": ">=8.0", "psr/event-dispatcher": "^1.0" }, "suggest": { @@ -1781,7 +2224,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Event\\ConfigProvider" @@ -1810,20 +2253,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-10-13T02:40:13+00:00" }, { "name": "hyperf/exception-handler", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/exception-handler.git", - "reference": "4ec8f6debf530b661bb2b436ef96da53ce0abbdc" + "reference": "2c7506e82f81e8c60a8e83168b5af4b9eed05efd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/exception-handler/zipball/4ec8f6debf530b661bb2b436ef96da53ce0abbdc", - "reference": "4ec8f6debf530b661bb2b436ef96da53ce0abbdc", + "url": "https://api.github.com/repos/hyperf/exception-handler/zipball/2c7506e82f81e8c60a8e83168b5af4b9eed05efd", + "reference": "2c7506e82f81e8c60a8e83168b5af4b9eed05efd", "shasum": "", "mirrors": [ { @@ -1833,17 +2276,17 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/dispatcher": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/dispatcher": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/http-message": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\ExceptionHandler\\ConfigProvider" @@ -1871,20 +2314,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { "name": "hyperf/framework", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/framework.git", - "reference": "49e98fb747214bcac79aecadda8349e70b8f2891" + "reference": "20e0fd40e200285cb5da73c9c8da6669efd7c789" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/framework/zipball/49e98fb747214bcac79aecadda8349e70b8f2891", - "reference": "49e98fb747214bcac79aecadda8349e70b8f2891", + "url": "https://api.github.com/repos/hyperf/framework/zipball/20e0fd40e200285cb5da73c9c8da6669efd7c789", + "reference": "20e0fd40e200285cb5da73c9c8da6669efd7c789", "shasum": "", "mirrors": [ { @@ -1895,9 +2338,9 @@ }, "require": { "fig/http-message-util": "^1.1.2", - "hyperf/contract": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/event-dispatcher": "^1.0", "psr/log": "^1.0|^2.0|^3.0" @@ -1907,12 +2350,12 @@ "hyperf/command": "Required to use Command annotation.", "hyperf/di": "Required to use Command annotation.", "hyperf/dispatcher": "Required to use BootApplication event.", - "symfony/event-dispatcher": "Required to use symfony event dispatcher (^5.0)." + "symfony/event-dispatcher": "Required to use symfony event dispatcher (^5.0|^6.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Framework\\ConfigProvider" @@ -1943,20 +2386,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { "name": "hyperf/http-message", - "version": "v2.2.33", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/hyperf/http-message.git", - "reference": "d71d796177ec72fe30d116c57ed8bd8121a57b6e" + "reference": "2f6f4e5079cb445d3c7c6518678cefcd726eaa52" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/http-message/zipball/d71d796177ec72fe30d116c57ed8bd8121a57b6e", - "reference": "d71d796177ec72fe30d116c57ed8bd8121a57b6e", + "url": "https://api.github.com/repos/hyperf/http-message/zipball/2f6f4e5079cb445d3c7c6518678cefcd726eaa52", + "reference": "2f6f4e5079cb445d3c7c6518678cefcd726eaa52", "shasum": "", "mirrors": [ { @@ -1966,8 +2409,9 @@ ] }, "require": { - "hyperf/utils": "~2.2.0", + "hyperf/utils": "~3.0.0", "laminas/laminas-mime": "^2.7", + "php": ">=8.0", "psr/http-message": "^1.0" }, "suggest": { @@ -1976,7 +2420,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\HttpMessage\\ConfigProvider" @@ -2000,22 +2444,22 @@ ], "support": { "issues": "https://github.com/hyperf/http-message/issues", - "source": "https://github.com/hyperf/http-message/tree/v2.2.33" + "source": "https://github.com/hyperf/http-message/tree/v3.0.1" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2023-01-04T11:57:10+00:00" }, { "name": "hyperf/http-server", - "version": "v2.2.33", + "version": "v3.0.10", "source": { "type": "git", "url": "https://github.com/hyperf/http-server.git", - "reference": "0f1f22d408de82c9f8fb3f2cf57457e319210798" + "reference": "2d0405bfa810b218044c506d4e798fbcc7994486" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/http-server/zipball/0f1f22d408de82c9f8fb3f2cf57457e319210798", - "reference": "0f1f22d408de82c9f8fb3f2cf57457e319210798", + "url": "https://api.github.com/repos/hyperf/http-server/zipball/2d0405bfa810b218044c506d4e798fbcc7994486", + "reference": "2d0405bfa810b218044c506d4e798fbcc7994486", "shasum": "", "mirrors": [ { @@ -2025,16 +2469,16 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/dispatcher": "~2.2.0", - "hyperf/event": "~2.2.0", - "hyperf/exception-handler": "~2.2.0", - "hyperf/http-message": "~2.2.0", - "hyperf/macroable": "~2.2.0", - "hyperf/server": "~2.2.0", - "hyperf/utils": "~2.2.0", + "hyperf/contract": "~3.0.0", + "hyperf/dispatcher": "~3.0.0", + "hyperf/event": "~3.0.0", + "hyperf/exception-handler": "~3.0.0", + "hyperf/http-message": "~3.0.0", + "hyperf/macroable": "~3.0.0", + "hyperf/server": "~3.0.0", + "hyperf/utils": "~3.0.0", "nikic/fast-route": "^1.3", - "php": ">=7.2", + "php": ">=8.0", "psr/container": "^1.0|^2.0" }, "suggest": { @@ -2043,7 +2487,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\HttpServer\\ConfigProvider" @@ -2073,20 +2517,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2023-03-06T09:30:11+00:00" }, { "name": "hyperf/logger", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/logger.git", - "reference": "f19929efaeca4aba2b91e7452f4f1b3245bfac51" + "reference": "c8de4bc7cd9ccca7c27faf3ebe4e5cfd7380c894" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/logger/zipball/f19929efaeca4aba2b91e7452f4f1b3245bfac51", - "reference": "f19929efaeca4aba2b91e7452f4f1b3245bfac51", + "url": "https://api.github.com/repos/hyperf/logger/zipball/c8de4bc7cd9ccca7c27faf3ebe4e5cfd7380c894", + "reference": "c8de4bc7cd9ccca7c27faf3ebe4e5cfd7380c894", "shasum": "", "mirrors": [ { @@ -2096,20 +2540,17 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/utils": "~2.2.0", - "monolog/monolog": "^2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", + "monolog/monolog": "^2.7|^3.1", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/log": "^1.0|^2.0|^3.0" }, - "conflict": { - "monolog/monolog": ">=2.6.0" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Logger\\ConfigProvider" @@ -2137,20 +2578,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-12-11T04:49:47+00:00" }, { "name": "hyperf/macroable", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/macroable.git", - "reference": "e4e1b3ed614a5a9d4c24a48b0b3a554eb712af9f" + "reference": "822de69ba0c75aa9767a9cea487b84bf31d5240a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/macroable/zipball/e4e1b3ed614a5a9d4c24a48b0b3a554eb712af9f", - "reference": "e4e1b3ed614a5a9d4c24a48b0b3a554eb712af9f", + "url": "https://api.github.com/repos/hyperf/macroable/zipball/822de69ba0c75aa9767a9cea487b84bf31d5240a", + "reference": "822de69ba0c75aa9767a9cea487b84bf31d5240a", "shasum": "", "mirrors": [ { @@ -2160,12 +2601,12 @@ ] }, "require": { - "php": ">=7.3" + "php": ">=7.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2191,20 +2632,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { - "name": "hyperf/paginator", - "version": "v2.2.33", + "name": "hyperf/model-listener", + "version": "v3.0.0", "source": { "type": "git", - "url": "https://github.com/hyperf/paginator.git", - "reference": "dc9429ecbd579ef54fa81be9c1de149248f87d0a" + "url": "https://github.com/hyperf/model-listener.git", + "reference": "50c7bffdbab5eb3828d6314b3d1de427c0e80704" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/paginator/zipball/dc9429ecbd579ef54fa81be9c1de149248f87d0a", - "reference": "dc9429ecbd579ef54fa81be9c1de149248f87d0a", + "url": "https://api.github.com/repos/hyperf/model-listener/zipball/50c7bffdbab5eb3828d6314b3d1de427c0e80704", + "reference": "50c7bffdbab5eb3828d6314b3d1de427c0e80704", "shasum": "", "mirrors": [ { @@ -2214,8 +2655,71 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/utils": "~2.2.0", + "hyperf/contract": "~3.0.0", + "hyperf/database": "~3.0.0", + "hyperf/di": "~3.0.0", + "hyperf/event": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", + "psr/container": "^1.0|^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "hyperf": { + "config": "Hyperf\\ModelListener\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Hyperf\\ModelListener\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A model listener for Hyperf.", + "homepage": "https://hyperf.io", + "keywords": [ + "hyperf", + "model-listener", + "php", + "swoole" + ], + "support": { + "docs": "https://hyperf.wiki", + "issues": "https://github.com/hyperf/hyperf/issues", + "pull-request": "https://github.com/hyperf/hyperf/pulls", + "source": "https://github.com/hyperf/hyperf" + }, + "time": "2022-05-30T02:16:40+00:00" + }, + { + "name": "hyperf/paginator", + "version": "v3.0.7", + "source": { + "type": "git", + "url": "https://github.com/hyperf/paginator.git", + "reference": "faf3ca19d658d4667b12e8158d68a4ece7e56de4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/paginator/zipball/faf3ca19d658d4667b12e8158d68a4ece7e56de4", + "reference": "faf3ca19d658d4667b12e8158d68a4ece7e56de4", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", "php": ">=7.2" }, "suggest": { @@ -2226,7 +2730,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Paginator\\ConfigProvider" @@ -2254,20 +2758,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2023-02-15T01:24:40+00:00" }, { "name": "hyperf/pool", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/pool.git", - "reference": "b66965453f404f09570a166e9c103a074d2dbd4e" + "reference": "6a937ff363b84208c26cf918490a07d38ab0c987" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/pool/zipball/b66965453f404f09570a166e9c103a074d2dbd4e", - "reference": "b66965453f404f09570a166e9c103a074d2dbd4e", + "url": "https://api.github.com/repos/hyperf/pool/zipball/6a937ff363b84208c26cf918490a07d38ab0c987", + "reference": "6a937ff363b84208c26cf918490a07d38ab0c987", "shasum": "", "mirrors": [ { @@ -2277,15 +2781,15 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Pool\\ConfigProvider" @@ -2314,20 +2818,85 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-26T11:47:54+00:00" }, { - "name": "hyperf/redis", - "version": "v2.2.33", + "name": "hyperf/process", + "version": "v3.0.9", "source": { "type": "git", - "url": "https://github.com/hyperf/redis.git", - "reference": "f0b858bec45b479d7b8cc4a70a792b144a6a680e" + "url": "https://github.com/hyperf/process.git", + "reference": "219d5e581acc35525904d37775804193fed10204" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/redis/zipball/f0b858bec45b479d7b8cc4a70a792b144a6a680e", - "reference": "f0b858bec45b479d7b8cc4a70a792b144a6a680e", + "url": "https://api.github.com/repos/hyperf/process/zipball/219d5e581acc35525904d37775804193fed10204", + "reference": "219d5e581acc35525904d37775804193fed10204", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hyperf/contract": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", + "psr/container": "^1.0|^2.0", + "psr/event-dispatcher": "^1.0" + }, + "suggest": { + "hyperf/di": "Required to use annotations.", + "hyperf/event": "Required to dump the message before and after process.", + "hyperf/framework": "Required to use BootProcessListener." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "hyperf": { + "config": "Hyperf\\Process\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Hyperf\\Process\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A process component for hyperf.", + "homepage": "https://hyperf.io", + "keywords": [ + "hyperf", + "php", + "process" + ], + "support": { + "docs": "https://hyperf.wiki", + "issues": "https://github.com/hyperf/hyperf/issues", + "pull-request": "https://github.com/hyperf/hyperf/pulls", + "source": "https://github.com/hyperf/hyperf" + }, + "time": "2023-03-01T05:30:24+00:00" + }, + { + "name": "hyperf/redis", + "version": "v3.0.5", + "source": { + "type": "git", + "url": "https://github.com/hyperf/redis.git", + "reference": "d13198587b8c75e84de1ba071e6c7c6c090598a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hyperf/redis/zipball/d13198587b8c75e84de1ba071e6c7c6c090598a0", + "reference": "d13198587b8c75e84de1ba071e6c7c6c090598a0", "shasum": "", "mirrors": [ { @@ -2338,10 +2907,10 @@ }, "require": { "ext-redis": "*", - "hyperf/contract": "~2.2.0", - "hyperf/pool": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/pool": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0" }, "suggest": { @@ -2351,7 +2920,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Redis\\ConfigProvider" @@ -2380,20 +2949,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2023-02-03T01:56:53+00:00" }, { "name": "hyperf/resource", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/resource.git", - "reference": "34086030db664d3f5467be52d37bc26a393ce14a" + "reference": "a1de2bffea44981720c0f008b09287d54d956a9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/resource/zipball/34086030db664d3f5467be52d37bc26a393ce14a", - "reference": "34086030db664d3f5467be52d37bc26a393ce14a", + "url": "https://api.github.com/repos/hyperf/resource/zipball/a1de2bffea44981720c0f008b09287d54d956a9c", + "reference": "a1de2bffea44981720c0f008b09287d54d956a9c", "shasum": "", "mirrors": [ { @@ -2404,16 +2973,16 @@ }, "require": { "ext-json": "*", - "hyperf/http-message": "~2.2.0", - "hyperf/paginator": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/http-message": "~3.0.0", + "hyperf/paginator": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Resource\\ConfigProvider" @@ -2441,20 +3010,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { "name": "hyperf/server", - "version": "v2.2.33", + "version": "v3.0.8", "source": { "type": "git", "url": "https://github.com/hyperf/server.git", - "reference": "1d3364520e37777a7ed83d8bc1597da42f8d6c1b" + "reference": "6c2680ecdf9ce35b27233fe4cc0c50052920467e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/server/zipball/1d3364520e37777a7ed83d8bc1597da42f8d6c1b", - "reference": "1d3364520e37777a7ed83d8bc1597da42f8d6c1b", + "url": "https://api.github.com/repos/hyperf/server/zipball/6c2680ecdf9ce35b27233fe4cc0c50052920467e", + "reference": "6c2680ecdf9ce35b27233fe4cc0c50052920467e", "shasum": "", "mirrors": [ { @@ -2464,13 +3033,14 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/engine": "^1.6|^2.4", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/event-dispatcher": "^1.0", "psr/log": "^1.0|^2.0|^3.0", - "symfony/console": "^5.0" + "symfony/console": "^5.0|^6.0" }, "suggest": { "hyperf/event": "Dump the info after server start.", @@ -2479,7 +3049,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Server\\ConfigProvider" @@ -2508,20 +3078,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2023-02-21T06:42:40+00:00" }, { "name": "hyperf/translation", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/translation.git", - "reference": "66c018e6e1605a446db212b0d3905e1d816dba77" + "reference": "72c264dc92750732c456b6b9bc057d25440e4393" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/translation/zipball/66c018e6e1605a446db212b0d3905e1d816dba77", - "reference": "66c018e6e1605a446db212b0d3905e1d816dba77", + "url": "https://api.github.com/repos/hyperf/translation/zipball/72c264dc92750732c456b6b9bc057d25440e4393", + "reference": "72c264dc92750732c456b6b9bc057d25440e4393", "shasum": "", "mirrors": [ { @@ -2531,16 +3101,16 @@ ] }, "require": { - "hyperf/contract": "~2.2.0", - "hyperf/macroable": "~2.2.0", - "hyperf/utils": "~2.2.0", - "php": ">=7.2", + "hyperf/contract": "~3.0.0", + "hyperf/macroable": "~3.0.0", + "hyperf/utils": "~3.0.0", + "php": ">=8.0", "psr/container": "^1.0|^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Translation\\ConfigProvider" @@ -2565,22 +3135,22 @@ ], "support": { "issues": "https://github.com/hyperf/translation/issues", - "source": "https://github.com/hyperf/translation/tree/v2.2.33" + "source": "https://github.com/hyperf/translation/tree/v3.0.0" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-11-01T02:50:54+00:00" }, { "name": "hyperf/utils", - "version": "v2.2.34", + "version": "v3.0.9", "source": { "type": "git", "url": "https://github.com/hyperf/utils.git", - "reference": "9c8519392166a6c8057cc52f7d02e1ac638581f5" + "reference": "5335df20f8dab87117f3d97c327dfa1c2ea3876c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/utils/zipball/9c8519392166a6c8057cc52f7d02e1ac638581f5", - "reference": "9c8519392166a6c8057cc52f7d02e1ac638581f5", + "url": "https://api.github.com/repos/hyperf/utils/zipball/5335df20f8dab87117f3d97c327dfa1c2ea3876c", + "reference": "5335df20f8dab87117f3d97c327dfa1c2ea3876c", "shasum": "", "mirrors": [ { @@ -2591,19 +3161,22 @@ }, "require": { "doctrine/inflector": "^2.0", - "hyperf/context": "~2.2.0", - "hyperf/contract": "~2.2.0", - "hyperf/engine": "^1.1", - "hyperf/macroable": "~2.2.0", + "hyperf/context": "~3.0.0", + "hyperf/contract": "~3.0.0", + "hyperf/coordinator": "~3.0.0", + "hyperf/engine": "^1.2|^2.0", + "hyperf/macroable": "~3.0.0", "php": ">=7.2" }, "suggest": { "ext-swoole": "Required to use methods related to swoole (>=4.5).", "hyperf/di": "Required to use ExceptionNormalizer", "nikic/php-parser": "Required to use PhpParser. (^4.0)", - "symfony/property-access": "Required to use SymfonyNormalizer (^5.0)", - "symfony/serializer": "Required to use SymfonyNormalizer (^5.0)", - "symfony/var-dumper": "Required to use the dd function (^5.0)." + "ramsey/uuid": "Required to use uuid and orderedUuid methods", + "symfony/property-access": "Required to use SymfonyNormalizer (^5.0|^6.0)", + "symfony/serializer": "Required to use SymfonyNormalizer (^5.0|^6.0)", + "symfony/uid": "Required to use ulid method", + "symfony/var-dumper": "Required to use the dd function (^5.0|^6.0)." }, "type": "library", "extra": { @@ -2611,7 +3184,7 @@ "config": "Hyperf\\Utils\\ConfigProvider" }, "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2640,20 +3213,20 @@ "pull-request": "https://github.com/hyperf/hyperf/pulls", "source": "https://github.com/hyperf/hyperf" }, - "time": "2022-07-21T05:42:54+00:00" + "time": "2023-03-05T03:39:42+00:00" }, { "name": "hyperf/validation", - "version": "v2.2.33", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/hyperf/validation.git", - "reference": "d4513923ed4cac88b4b5368bc6497b460465c1e0" + "reference": "082ad0f0b2fc55d909a88e50cde9e56f0424e2ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hyperf/validation/zipball/d4513923ed4cac88b4b5368bc6497b460465c1e0", - "reference": "d4513923ed4cac88b4b5368bc6497b460465c1e0", + "url": "https://api.github.com/repos/hyperf/validation/zipball/082ad0f0b2fc55d909a88e50cde9e56f0424e2ce", + "reference": "082ad0f0b2fc55d909a88e50cde9e56f0424e2ce", "shasum": "", "mirrors": [ { @@ -2664,16 +3237,16 @@ }, "require": { "egulias/email-validator": "^3.0", - "hyperf/contract": "~2.2.0", - "hyperf/database": "~2.2.0", - "hyperf/di": "~2.2.0", - "hyperf/framework": "~2.2.0", - "hyperf/http-server": "~2.2.0", - "hyperf/macroable": "~2.2.0", - "hyperf/translation": "~2.2.0", - "hyperf/utils": "~2.2.0", + "hyperf/contract": "~3.0.0", + "hyperf/database": "~3.0.0", + "hyperf/di": "~3.0.0", + "hyperf/framework": "~3.0.0", + "hyperf/http-server": "~3.0.0", + "hyperf/macroable": "~3.0.0", + "hyperf/translation": "~3.0.0", + "hyperf/utils": "~3.0.0", "nesbot/carbon": "^2.21", - "php": ">=7.2", + "php": ">=8.0", "psr/container": "^1.0|^2.0", "psr/event-dispatcher": "^1.0", "psr/http-message": "^1.0" @@ -2681,7 +3254,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "3.0-dev" }, "hyperf": { "config": "Hyperf\\Validation\\ConfigProvider" @@ -2703,9 +3276,9 @@ ], "support": { "issues": "https://github.com/hyperf/validation/issues", - "source": "https://github.com/hyperf/validation/tree/v2.2.33" + "source": "https://github.com/hyperf/validation/tree/v3.0.0" }, - "time": "2022-05-24T13:10:54+00:00" + "time": "2022-12-22T08:23:24+00:00" }, { "name": "jetbrains/phpstorm-attributes", @@ -3017,16 +3590,16 @@ }, { "name": "monolog/monolog", - "version": "2.5.0", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "4192345e260f1d51b365536199744b987e160edc" + "reference": "e1c0ae1528ce313a450e5e1ad782765c4a8dd3cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4192345e260f1d51b365536199744b987e160edc", - "reference": "4192345e260f1d51b365536199744b987e160edc", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/e1c0ae1528ce313a450e5e1ad782765c4a8dd3cb", + "reference": "e1c0ae1528ce313a450e5e1ad782765c4a8dd3cb", "shasum": "", "mirrors": [ { @@ -3045,18 +3618,22 @@ "require-dev": { "aws/aws-sdk-php": "^2.4.9 || ^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^7", - "graylog2/gelf-php": "^1.4.2", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2@dev", + "guzzlehttp/guzzle": "^7.4", + "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4 || ^3", - "php-console/php-console": "^3.1.3", - "phpspec/prophecy": "^1.6.1", + "phpspec/prophecy": "^1.15", "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5", - "predis/predis": "^1.1", + "phpunit/phpunit": "^8.5.14", + "predis/predis": "^1.1 || ^2.0", "rollbar/rollbar": "^1.3 || ^2 || ^3", - "ruflin/elastica": ">=0.90@dev", - "swiftmailer/swiftmailer": "^5.3|^6.0" + "ruflin/elastica": "^7", + "swiftmailer/swiftmailer": "^5.3|^6.0", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -3071,7 +3648,6 @@ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", "rollbar/rollbar": "Allow sending log messages to Rollbar", "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, @@ -3106,7 +3682,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.5.0" + "source": "https://github.com/Seldaek/monolog/tree/2.9.0" }, "funding": [ { @@ -3118,7 +3694,7 @@ "type": "tidelift" } ], - "time": "2022-04-08T15:43:54+00:00" + "time": "2023-02-05T13:07:32+00:00" }, { "name": "myclabs/php-enum", @@ -3188,16 +3764,16 @@ }, { "name": "nesbot/carbon", - "version": "2.65.0", + "version": "2.66.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "09acf64155c16dc6f580f36569ae89344e9734a3" + "reference": "496712849902241f04902033b0441b269effe001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/09acf64155c16dc6f580f36569ae89344e9734a3", - "reference": "09acf64155c16dc6f580f36569ae89344e9734a3", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/496712849902241f04902033b0441b269effe001", + "reference": "496712849902241f04902033b0441b269effe001", "shasum": "", "mirrors": [ { @@ -3292,7 +3868,7 @@ "type": "tidelift" } ], - "time": "2023-01-06T15:55:01+00:00" + "time": "2023-01-29T18:53:47+00:00" }, { "name": "nikic/fast-route", @@ -3352,16 +3928,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.15.2", + "version": "v4.15.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc" + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", - "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290", "shasum": "", "mirrors": [ { @@ -3408,9 +3984,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4" }, - "time": "2022-11-12T15:38:23+00:00" + "time": "2023-03-05T19:49:14+00:00" }, { "name": "php-di/phpdoc-reader", @@ -3462,16 +4038,16 @@ }, { "name": "phpoption/phpoption", - "version": "1.8.1", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", - "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e", + "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e", "shasum": "", "mirrors": [ { @@ -3481,16 +4057,20 @@ ] }, "require": { - "php": "^7.0 || ^8.0" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -3523,7 +4103,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.1" }, "funding": [ { @@ -3535,7 +4115,7 @@ "type": "tidelift" } ], - "time": "2021-12-04T23:24:31+00:00" + "time": "2023-02-25T19:38:58+00:00" }, { "name": "psr/cache", @@ -3948,6 +4528,63 @@ }, "time": "2021-05-03T11:20:27+00:00" }, + { + "name": "psr/simple-cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" + }, + "time": "2021-10-29T13:26:27+00:00" + }, { "name": "react/promise", "version": "v2.9.0", @@ -4086,6 +4723,67 @@ }, "time": "2022-12-06T14:04:48+00:00" }, + { + "name": "s1lentium/iptools", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/S1lentium/IPTools.git", + "reference": "88be1aaaab3c50fc131ebe778e246215ff006d8e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/S1lentium/IPTools/zipball/88be1aaaab3c50fc131ebe778e246215ff006d8e", + "reference": "88be1aaaab3c50fc131ebe778e246215ff006d8e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-bcmath": "*", + "php": "^8.0" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.5", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "IPTools\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Safarov Alisher", + "email": "alisher.safarov@outlook.com", + "homepage": "https://github.com/S1lentium" + } + ], + "description": "PHP Library for manipulating network addresses (IPv4 and IPv6)", + "keywords": [ + "IP", + "IP-Tools", + "cidr", + "ipv4", + "ipv6", + "network", + "subnet" + ], + "support": { + "issues": "https://github.com/S1lentium/IPTools/issues", + "source": "https://github.com/S1lentium/IPTools/tree/v1.2.0" + }, + "time": "2022-08-17T14:28:59+00:00" + }, { "name": "seld/jsonlint", "version": "1.9.0", @@ -4212,28 +4910,28 @@ }, { "name": "singularity/hdk-core", - "version": "0.1.x-dev", + "version": "dev-develop", "source": { "type": "git", "url": "http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git", - "reference": "3e2d3400b45edf4b503a91c078aaa3ef0fff553e" + "reference": "7c1efe1a1f18f082ed7b7b6383112034982e2893" }, "require": { "composer/composer": ">=2.0", "ergebnis/http-method": "^2.2", "ext-redis": "^5.3", "ext-swoole": "*", - "hyperf/config": "^2.2", - "hyperf/constants": "^2.2", - "hyperf/context": "^2.2", - "hyperf/database": "^2.2", - "hyperf/di": "^2.2", - "hyperf/framework": "^2.2", - "hyperf/http-server": "^2.2", - "hyperf/logger": "^2.2", - "hyperf/redis": "^2.2", - "hyperf/resource": "^2.2", - "hyperf/translation": "^2.2", + "hyperf/config": "3.0.*", + "hyperf/constants": "3.0.*", + "hyperf/context": "3.0.*", + "hyperf/database": "3.0.*", + "hyperf/di": "3.0.*", + "hyperf/framework": "3.0.*", + "hyperf/http-server": "3.0.*", + "hyperf/logger": "3.0.*", + "hyperf/redis": "3.0.*", + "hyperf/resource": "3.0.*", + "hyperf/translation": "3.0.*", "jetbrains/phpstorm-attributes": "^1.0", "lmc/http-constants": "^1.2", "myclabs/php-enum": "^1.8", @@ -4247,8 +4945,9 @@ "firebase/php-jwt": "^6.1", "friendsofphp/php-cs-fixer": "^3.13", "guzzlehttp/guzzle": "^7.5", - "hyperf/session": "^2.2", - "hyperf/validation": "^2.2", + "hyperf/guzzle": "^3.0", + "hyperf/session": "3.0.*", + "hyperf/validation": "3.0.*", "pestphp/pest": "^1.22", "phpstan/phpstan": "^1.9", "phpunit/phpunit": "^9.5", @@ -4260,14 +4959,14 @@ "suggest": { "alibabacloud/dysmsapi-20170525": "阿里云短信服务必需", "firebase/php-jwt": "JWT 鉴权必需", - "guzzlehttp/guzzle": "需要发起 http 请求时必需", + "hyperf/guzzle": "需要发起 http 请求时必需", "hyperf/session": "Session 鉴权必需", "symfony/mailer": "用于发送电子邮件" }, "type": "library", "extra": { "hyperf": { - "config": "Singularity\\HDK\\ConfigProvider" + "config": "Singularity\\HDK\\Core\\ConfigProvider" } }, "autoload": { @@ -4308,20 +5007,20 @@ } ], "description": "Common Hyperf Development Kit", - "time": "2023-01-16T14:33:21+00:00" + "time": "2023-03-13T08:14:22+00:00" }, { - "name": "symfony/console", - "version": "v5.4.17", + "name": "symfony/cache", + "version": "v6.0.19", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f" + "url": "https://github.com/symfony/cache.git", + "reference": "81ca309f056e836480928b20280ec52ce8369bb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f", - "reference": "58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f", + "url": "https://api.github.com/repos/symfony/cache/zipball/81ca309f056e836480928b20280ec52ce8369bb3", + "reference": "81ca309f056e836480928b20280ec52ce8369bb3", "shasum": "", "mirrors": [ { @@ -4331,33 +5030,213 @@ ] }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.9", - "symfony/polyfill-php80": "^1.16", + "php": ">=8.0.2", + "psr/cache": "^2.0|^3.0", + "psr/log": "^1.1|^2|^3", + "symfony/cache-contracts": "^1.1.7|^2|^3", "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.1|^6.0" + "symfony/var-exporter": "^5.4|^6.0" }, "conflict": { - "psr/log": ">=3", - "symfony/dependency-injection": "<4.4", - "symfony/dotenv": "<5.1", - "symfony/event-dispatcher": "<4.4", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" + "doctrine/dbal": "<2.13.1", + "symfony/dependency-injection": "<5.4", + "symfony/http-kernel": "<5.4", + "symfony/var-dumper": "<5.4" }, "provide": { - "psr/log-implementation": "1.0|2.0" + "psr/cache-implementation": "2.0|3.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0", + "symfony/cache-implementation": "1.1|2.0|3.0" }, "require-dev": { - "psr/log": "^1|^2", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/lock": "^4.4|^5.0|^6.0", - "symfony/process": "^4.4|^5.0|^6.0", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "cache/integration-tests": "dev-master", + "doctrine/dbal": "^2.13.1|^3.0", + "predis/predis": "^1.1", + "psr/simple-cache": "^1.0|^2.0|^3.0", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/filesystem": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/messenger": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Cache\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides extended PSR-6, PSR-16 (and tags) implementations", + "homepage": "https://symfony.com", + "keywords": [ + "caching", + "psr6" + ], + "support": { + "source": "https://github.com/symfony/cache/tree/v6.0.19" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-20T17:44:14+00:00" + }, + { + "name": "symfony/cache-contracts", + "version": "v3.0.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/cache-contracts.git", + "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", + "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2", + "psr/cache": "^3.0" + }, + "suggest": { + "symfony/cache-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Cache\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to caching", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/cache-contracts/tree/v3.0.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:55:41+00:00" + }, + { + "name": "symfony/console", + "version": "v6.0.19", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "reference": "c3ebc83d031b71c39da318ca8b7a07ecc67507ed", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -4397,7 +5276,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.17" + "source": "https://github.com/symfony/console/tree/v6.0.19" }, "funding": [ { @@ -4413,20 +5292,20 @@ "type": "tidelift" } ], - "time": "2022-12-28T14:15:31+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { - "name": "symfony/deprecation-contracts", - "version": "v3.0.2", + "name": "symfony/expression-language", + "version": "v6.0.19", "source": { "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + "url": "https://github.com/symfony/expression-language.git", + "reference": "d912aa436eeed66ae369a2b8a247249bed8f9a03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/d912aa436eeed66ae369a2b8a247249bed8f9a03", + "reference": "d912aa436eeed66ae369a2b8a247249bed8f9a03", "shasum": "", "mirrors": [ { @@ -4436,21 +5315,17 @@ ] }, "require": { - "php": ">=8.0.2" + "php": ">=8.0.2", + "symfony/cache": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, "autoload": { - "files": [ - "function.php" + "psr-4": { + "Symfony\\Component\\ExpressionLanguage\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -4459,18 +5334,18 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "A generic function and convention to trigger deprecation notices", + "description": "Provides an engine that can compile and evaluate expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/expression-language/tree/v6.0.19" }, "funding": [ { @@ -4486,20 +5361,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/filesystem", - "version": "v6.0.13", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "3adca49133bd055ebe6011ed1e012be3c908af79" + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/3adca49133bd055ebe6011ed1e012be3c908af79", - "reference": "3adca49133bd055ebe6011ed1e012be3c908af79", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3d49eec03fda1f0fc19b7349fbbe55ebc1004214", + "reference": "3d49eec03fda1f0fc19b7349fbbe55ebc1004214", "shasum": "", "mirrors": [ { @@ -4539,7 +5414,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.0.13" + "source": "https://github.com/symfony/filesystem/tree/v6.0.19" }, "funding": [ { @@ -4555,20 +5430,20 @@ "type": "tidelift" } ], - "time": "2022-09-21T20:25:27+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/finder", - "version": "v5.4.17", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "40c08632019838dfb3350f18cf5563b8080055fc" + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/40c08632019838dfb3350f18cf5563b8080055fc", - "reference": "40c08632019838dfb3350f18cf5563b8080055fc", + "url": "https://api.github.com/repos/symfony/finder/zipball/5cc9cac6586fc0c28cd173780ca696e419fefa11", + "reference": "5cc9cac6586fc0c28cd173780ca696e419fefa11", "shasum": "", "mirrors": [ { @@ -4578,9 +5453,7 @@ ] }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.0.2" }, "type": "library", "autoload": { @@ -4608,7 +5481,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.17" + "source": "https://github.com/symfony/finder/tree/v6.0.19" }, "funding": [ { @@ -4624,7 +5497,7 @@ "type": "tidelift" } ], - "time": "2022-12-22T10:31:03+00:00" + "time": "2023-01-20T17:44:14+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5155,91 +6028,6 @@ ], "time": "2022-11-03T14:55:06+00:00" }, - { - "name": "symfony/polyfill-php73", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, { "name": "symfony/polyfill-php80", "version": "v1.27.0", @@ -5416,16 +6204,16 @@ }, { "name": "symfony/process", - "version": "v6.0.11", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "44270a08ccb664143dede554ff1c00aaa2247a43" + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/44270a08ccb664143dede554ff1c00aaa2247a43", - "reference": "44270a08ccb664143dede554ff1c00aaa2247a43", + "url": "https://api.github.com/repos/symfony/process/zipball/2114fd60f26a296cc403a7939ab91478475a33d4", + "reference": "2114fd60f26a296cc403a7939ab91478475a33d4", "shasum": "", "mirrors": [ { @@ -5463,7 +6251,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.0.11" + "source": "https://github.com/symfony/process/tree/v6.0.19" }, "funding": [ { @@ -5479,7 +6267,7 @@ "type": "tidelift" } ], - "time": "2022-06-27T17:10:44+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/service-contracts", @@ -5571,16 +6359,16 @@ }, { "name": "symfony/string", - "version": "v6.0.17", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "3f57003dd8a67ed76870cc03092f8501db7788d9" + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/3f57003dd8a67ed76870cc03092f8501db7788d9", - "reference": "3f57003dd8a67ed76870cc03092f8501db7788d9", + "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", + "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", "shasum": "", "mirrors": [ { @@ -5642,7 +6430,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.17" + "source": "https://github.com/symfony/string/tree/v6.0.19" }, "funding": [ { @@ -5658,20 +6446,20 @@ "type": "tidelift" } ], - "time": "2022-12-14T15:52:41+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/translation", - "version": "v6.0.14", + "version": "v6.0.19", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c" + "reference": "9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/6f99eb179aee4652c0a7cd7c11f2a870d904330c", - "reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c", + "url": "https://api.github.com/repos/symfony/translation/zipball/9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f", + "reference": "9c24b3fdbbe9fb2ef3a6afd8bbaadfd72dad681f", "shasum": "", "mirrors": [ { @@ -5743,7 +6531,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.0.14" + "source": "https://github.com/symfony/translation/tree/v6.0.19" }, "funding": [ { @@ -5759,7 +6547,7 @@ "type": "tidelift" } ], - "time": "2022-10-07T08:02:12+00:00" + "time": "2023-01-01T08:36:10+00:00" }, { "name": "symfony/translation-contracts", @@ -5845,6 +6633,84 @@ ], "time": "2022-06-27T17:10:44+00:00" }, + { + "name": "symfony/var-exporter", + "version": "v6.0.19", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-exporter.git", + "reference": "df56f53818c2d5d9f683f4ad2e365ba73a3b69d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/df56f53818c2d5d9f683f4ad2e365ba73a3b69d2", + "reference": "df56f53818c2d5d9f683f4ad2e365ba73a3b69d2", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2" + }, + "require-dev": { + "symfony/var-dumper": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\VarExporter\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows exporting any serializable PHP data structure to plain PHP code", + "homepage": "https://symfony.com", + "keywords": [ + "clone", + "construct", + "export", + "hydrate", + "instantiate", + "serialize" + ], + "support": { + "source": "https://github.com/symfony/var-exporter/tree/v6.0.19" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-01-13T08:34:10+00:00" + }, { "name": "teapot/status-code", "version": "v1.1.2", @@ -5988,16 +6854,16 @@ "packages-dev": [ { "name": "firebase/php-jwt", - "version": "v6.3.1", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "ddfaddcb520488b42bca3a75e17e9dd53c3667da" + "reference": "4dd1e007f22a927ac77da5a3fbb067b42d3bc224" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/ddfaddcb520488b42bca3a75e17e9dd53c3667da", - "reference": "ddfaddcb520488b42bca3a75e17e9dd53c3667da", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/4dd1e007f22a927ac77da5a3fbb067b42d3bc224", + "reference": "4dd1e007f22a927ac77da5a3fbb067b42d3bc224", "shasum": "", "mirrors": [ { @@ -6018,6 +6884,7 @@ "psr/http-factory": "^1.0" }, "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" }, "type": "library", @@ -6050,22 +6917,371 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.3.1" + "source": "https://github.com/firebase/php-jwt/tree/v6.4.0" }, - "time": "2022-11-01T21:20:08+00:00" + "time": "2023-02-09T21:01:23+00:00" }, { - "name": "myclabs/deep-copy", - "version": "1.11.0", + "name": "guzzlehttp/guzzle", + "version": "7.5.0", "source": { "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + "url": "https://github.com/guzzle/guzzle.git", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.9 || ^2.4", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "7.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "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": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-08-28T15:39:27+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "b94b2807d85443f9719887892882d0329d1e2598" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "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": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2022-08-28T14:55:35+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.4.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "67c26b443f348a51926030c83481b85718457d3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d", + "reference": "67c26b443f348a51926030c83481b85718457d3d", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "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" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2022-10-26T14:07:24+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "", "mirrors": [ { @@ -6109,7 +7325,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -6117,7 +7333,7 @@ "type": "tidelift" } ], - "time": "2022-03-03T13:19:32+00:00" + "time": "2023-03-08T13:26:56+00:00" }, { "name": "phar-io/manifest", @@ -6244,16 +7460,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.23", + "version": "9.2.26", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c" + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", - "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", "shasum": "", "mirrors": [ { @@ -6266,7 +7482,7 @@ "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.14", + "nikic/php-parser": "^4.15", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -6281,8 +7497,8 @@ "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { @@ -6315,7 +7531,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.23" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" }, "funding": [ { @@ -6323,7 +7539,7 @@ "type": "github" } ], - "time": "2022-12-28T12:41:10+00:00" + "time": "2023-03-06T12:58:08+00:00" }, { "name": "phpunit/php-file-iterator", @@ -6592,16 +7808,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.27", + "version": "9.6.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" + "reference": "9125ee085b6d95e78277dc07aa1f46f9e0607b8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", - "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9125ee085b6d95e78277dc07aa1f46f9e0607b8d", + "reference": "9125ee085b6d95e78277dc07aa1f46f9e0607b8d", "shasum": "", "mirrors": [ { @@ -6611,7 +7827,7 @@ ] }, "require": { - "doctrine/instantiator": "^1.3.1", + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -6649,7 +7865,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -6680,7 +7896,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.4" }, "funding": [ { @@ -6696,7 +7912,176 @@ "type": "tidelift" } ], - "time": "2022-12-09T07:31:23+00:00" + "time": "2023-02-27T13:06:37+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "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": "sebastian/cli-parser", @@ -7100,16 +8485,16 @@ }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "", "mirrors": [ { @@ -7157,7 +8542,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -7165,7 +8550,7 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", @@ -7509,16 +8894,16 @@ }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "", "mirrors": [ { @@ -7563,10 +8948,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -7574,7 +8959,7 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", @@ -7639,16 +9024,16 @@ }, { "name": "sebastian/type", - "version": "3.2.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "", "mirrors": [ { @@ -7689,7 +9074,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -7697,7 +9082,7 @@ "type": "github" } ], - "time": "2022-09-12T14:47:03+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", @@ -7758,6 +9143,79 @@ ], "time": "2020-09-28T06:39:44+00:00" }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.0.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:55:41+00:00" + }, { "name": "theseer/tokenizer", "version": "1.2.1", @@ -7823,8 +9281,9 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=7.4" + "php": ">=8.0", + "ext-redis": "*" }, "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/src/Sdk/UserRpc.php b/src/Sdk/UserRpc.php index 25b312e..f6ca972 100644 --- a/src/Sdk/UserRpc.php +++ b/src/Sdk/UserRpc.php @@ -1,60 +1,99 @@ requestService->setOptions([ [ 'headers' => [ - 'Accept-Language' => $this->translator->getLocale() - ] + 'Accept-Language' => $this->translator->getLocale(), + ], ], - config('common.http_request.account.rpc_base_uri') - ); + 'base_uri' => config('common.http_request.account.rpc_base_uri'), + RequestOptions::ALLOW_REDIRECTS => true, + ]); } - public function alive($name) + /** + * @param $name + * @return ResponseInterface + * @throws GuzzleException + * @throws ClientExceptionInterface + */ + public function alive($name): ResponseInterface { - return $this->get('user/alive?username=' . urlencode($name)); + return $this->requestService->requestGet('/user/alive?username=' . urlencode($name)); } - public function detail($uid) + /** + * @param $uid + * @return ResponseInterface + * @throws ClientExceptionInterface + * @throws GuzzleException + */ + public function detail($uid): ResponseInterface { - return $this->get('user/detail?uid=' . $uid); + return $this->requestService->requestGet('/user/detail?uid=' . $uid); } - public function create($data) + /** + * @param $data + * @return ResponseInterface + * @throws GuzzleException + */ + public function create($data): ResponseInterface { - return $this->post('user/create', $data); + return $this->requestService->requestPost('/user/create', $data); } - public function update($uid, $data) + /** + * @param $uid + * @param $data + * @return ResponseInterface + * @throws GuzzleException + */ + public function update($uid, $data): ResponseInterface { - return $this->post('user/update?uid=' . $uid, $data); + return $this->requestService->requestPost('/user/update', $data, params: ['uid' => $uid]); } - public function list($uid_arr) + /** + * @param $uid_arr + * @return ResponseInterface + * @throws ClientExceptionInterface + * @throws GuzzleException + */ + public function list($uid_arr): ResponseInterface { - return $this->post('user', $uid_arr); + return $this->requestService->requestGet('/user', $uid_arr); } - public function checkNamePass($data) + /** + * @param $data + * @return ResponseInterface + * @throws GuzzleException + */ + public function checkNamePass($data): ResponseInterface { - return $this->post('user/signIn', $data); + return $this->requestService->requestPost('/user/signIn', $data); } } \ No newline at end of file