|
|
@@ -1,6 +1,75 @@
|
|
|
{
|
|
|
"packages": [
|
|
|
{
|
|
|
+ "name": "bandwidth-throttle/token-bucket",
|
|
|
+ "version": "2.0.0",
|
|
|
+ "version_normalized": "2.0.0.0",
|
|
|
+ "source": {
|
|
|
+ "type": "git",
|
|
|
+ "url": "https://github.com/bandwidth-throttle/token-bucket.git",
|
|
|
+ "reference": "a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08"
|
|
|
+ },
|
|
|
+ "dist": {
|
|
|
+ "type": "zip",
|
|
|
+ "url": "https://api.github.com/repos/bandwidth-throttle/token-bucket/zipball/a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08",
|
|
|
+ "reference": "a0c31a4d0fbcf0c1a68c895fc91bf71455bcec08",
|
|
|
+ "shasum": "",
|
|
|
+ "mirrors": [
|
|
|
+ {
|
|
|
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
|
|
+ "preferred": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "require": {
|
|
|
+ "ext-bcmath": "*",
|
|
|
+ "malkusch/lock": "^1",
|
|
|
+ "php": ">=5.6"
|
|
|
+ },
|
|
|
+ "require-dev": {
|
|
|
+ "ext-redis": "^2.2.4|^3",
|
|
|
+ "mikey179/vfsstream": "^1.5.0",
|
|
|
+ "php-mock/php-mock-phpunit": "^1",
|
|
|
+ "phpunit/phpunit": "^5",
|
|
|
+ "predis/predis": "^1"
|
|
|
+ },
|
|
|
+ "time": "2017-10-13T19:09:01+00:00",
|
|
|
+ "type": "library",
|
|
|
+ "installation-source": "dist",
|
|
|
+ "autoload": {
|
|
|
+ "psr-4": {
|
|
|
+ "bandwidthThrottle\\tokenBucket\\": "classes/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "notification-url": "https://packagist.org/downloads/",
|
|
|
+ "license": [
|
|
|
+ "WTFPL"
|
|
|
+ ],
|
|
|
+ "authors": [
|
|
|
+ {
|
|
|
+ "name": "Markus Malkusch",
|
|
|
+ "email": "markus@malkusch.de",
|
|
|
+ "homepage": "http://markus.malkusch.de",
|
|
|
+ "role": "Developer"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "description": "Implementation of the Token Bucket algorithm.",
|
|
|
+ "homepage": "https://github.com/bandwidth-throttle/token-bucket",
|
|
|
+ "keywords": [
|
|
|
+ "bandwidth",
|
|
|
+ "rate limit",
|
|
|
+ "rate limiting",
|
|
|
+ "throttle",
|
|
|
+ "throttling",
|
|
|
+ "token bucket"
|
|
|
+ ],
|
|
|
+ "support": {
|
|
|
+ "issues": "https://github.com/bandwidth-throttle/token-bucket/issues",
|
|
|
+ "source": "https://github.com/bandwidth-throttle/token-bucket/tree/master"
|
|
|
+ },
|
|
|
+ "install-path": "../bandwidth-throttle/token-bucket"
|
|
|
+ },
|
|
|
+ {
|
|
|
"name": "composer/semver",
|
|
|
"version": "3.2.2",
|
|
|
"version_normalized": "3.2.2.0",
|
|
|
@@ -3056,6 +3125,86 @@
|
|
|
"install-path": "../hyperf/process"
|
|
|
},
|
|
|
{
|
|
|
+ "name": "hyperf/rate-limit",
|
|
|
+ "version": "v2.0.12",
|
|
|
+ "version_normalized": "2.0.12.0",
|
|
|
+ "source": {
|
|
|
+ "type": "git",
|
|
|
+ "url": "https://github.com/hyperf/rate-limit.git",
|
|
|
+ "reference": "35af075274dcd41d5914409a788fa1e278bcfdaf"
|
|
|
+ },
|
|
|
+ "dist": {
|
|
|
+ "type": "zip",
|
|
|
+ "url": "https://api.github.com/repos/hyperf/rate-limit/zipball/35af075274dcd41d5914409a788fa1e278bcfdaf",
|
|
|
+ "reference": "35af075274dcd41d5914409a788fa1e278bcfdaf",
|
|
|
+ "shasum": "",
|
|
|
+ "mirrors": [
|
|
|
+ {
|
|
|
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
|
|
+ "preferred": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "require": {
|
|
|
+ "bandwidth-throttle/token-bucket": "^2.0",
|
|
|
+ "hyperf/utils": "~2.0.0",
|
|
|
+ "php": ">=7.2",
|
|
|
+ "psr/container": "^1.0",
|
|
|
+ "psr/simple-cache": "^1.0"
|
|
|
+ },
|
|
|
+ "require-dev": {
|
|
|
+ "friendsofphp/php-cs-fixer": "^2.9",
|
|
|
+ "hyperf/contract": "~2.0.0",
|
|
|
+ "hyperf/di": "~2.0.0",
|
|
|
+ "hyperf/http-server": "~2.0.0",
|
|
|
+ "hyperf/redis": "~2.0.0",
|
|
|
+ "malukenho/docheader": "^0.1.6",
|
|
|
+ "mockery/mockery": "^1.0",
|
|
|
+ "phpunit/phpunit": "^7.0.0"
|
|
|
+ },
|
|
|
+ "suggest": {
|
|
|
+ "hyperf/contract": "Required to use annotations.",
|
|
|
+ "hyperf/di": "Required to use annotations.",
|
|
|
+ "hyperf/http-server": "Required to use annotations.",
|
|
|
+ "hyperf/redis": "Required to use RedisStorage."
|
|
|
+ },
|
|
|
+ "time": "2020-09-14T04:43:30+00:00",
|
|
|
+ "type": "library",
|
|
|
+ "extra": {
|
|
|
+ "branch-alias": {
|
|
|
+ "dev-master": "2.0-dev"
|
|
|
+ },
|
|
|
+ "hyperf": {
|
|
|
+ "config": "Hyperf\\RateLimit\\ConfigProvider"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "installation-source": "dist",
|
|
|
+ "autoload": {
|
|
|
+ "psr-4": {
|
|
|
+ "Hyperf\\RateLimit\\": "src/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "notification-url": "https://packagist.org/downloads/",
|
|
|
+ "license": [
|
|
|
+ "MIT"
|
|
|
+ ],
|
|
|
+ "description": "A rate limiter implemented for Hyperf or other coroutine framework",
|
|
|
+ "homepage": "https://hyperf.io",
|
|
|
+ "keywords": [
|
|
|
+ "hyperf",
|
|
|
+ "php",
|
|
|
+ "rate-limiter",
|
|
|
+ "token-bucket"
|
|
|
+ ],
|
|
|
+ "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"
|
|
|
+ },
|
|
|
+ "install-path": "../hyperf/rate-limit"
|
|
|
+ },
|
|
|
+ {
|
|
|
"name": "hyperf/redis",
|
|
|
"version": "v2.0.18",
|
|
|
"version_normalized": "2.0.18.0",
|
|
|
@@ -4194,6 +4343,97 @@
|
|
|
"install-path": "../lcobucci/jwt"
|
|
|
},
|
|
|
{
|
|
|
+ "name": "malkusch/lock",
|
|
|
+ "version": "v1.4",
|
|
|
+ "version_normalized": "1.4.0.0",
|
|
|
+ "source": {
|
|
|
+ "type": "git",
|
|
|
+ "url": "https://github.com/php-lock/lock.git",
|
|
|
+ "reference": "96cd2d82180fc87bd8ad45aac25486f82d9fbf4b"
|
|
|
+ },
|
|
|
+ "dist": {
|
|
|
+ "type": "zip",
|
|
|
+ "url": "https://api.github.com/repos/php-lock/lock/zipball/96cd2d82180fc87bd8ad45aac25486f82d9fbf4b",
|
|
|
+ "reference": "96cd2d82180fc87bd8ad45aac25486f82d9fbf4b",
|
|
|
+ "shasum": "",
|
|
|
+ "mirrors": [
|
|
|
+ {
|
|
|
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
|
|
+ "preferred": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "require": {
|
|
|
+ "paragonie/random_compat": "^1|^2",
|
|
|
+ "php": ">=5.6",
|
|
|
+ "psr/log": "^1"
|
|
|
+ },
|
|
|
+ "require-dev": {
|
|
|
+ "eloquent/liberator": "^2.0",
|
|
|
+ "ext-memcached": "*",
|
|
|
+ "ext-pcntl": "*",
|
|
|
+ "ext-pdo_mysql": "*",
|
|
|
+ "ext-pdo_sqlite": "*",
|
|
|
+ "ext-redis": "*",
|
|
|
+ "johnkary/phpunit-speedtrap": "^1.0",
|
|
|
+ "kriswallsmith/spork": "^0.3",
|
|
|
+ "mikey179/vfsstream": "^1.5.0",
|
|
|
+ "php-mock/php-mock-phpunit": "^1",
|
|
|
+ "phpunit/phpunit": "^5",
|
|
|
+ "predis/predis": "~1.0",
|
|
|
+ "squizlabs/php_codesniffer": "^3.2"
|
|
|
+ },
|
|
|
+ "suggest": {
|
|
|
+ "ext-pnctl": "Enables locking with flock without busy waiting in CLI scripts"
|
|
|
+ },
|
|
|
+ "time": "2018-07-07T18:43:25+00:00",
|
|
|
+ "type": "library",
|
|
|
+ "installation-source": "dist",
|
|
|
+ "autoload": {
|
|
|
+ "psr-4": {
|
|
|
+ "malkusch\\lock\\": "classes/"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "notification-url": "https://packagist.org/downloads/",
|
|
|
+ "license": [
|
|
|
+ "WTFPL"
|
|
|
+ ],
|
|
|
+ "authors": [
|
|
|
+ {
|
|
|
+ "name": "Markus Malkusch",
|
|
|
+ "email": "markus@malkusch.de",
|
|
|
+ "homepage": "http://markus.malkusch.de",
|
|
|
+ "role": "Developer"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "Willem Stuursma-Ruwen",
|
|
|
+ "email": "willem@stuursma.name",
|
|
|
+ "role": "Developer"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "description": "Mutex library for exclusive code execution.",
|
|
|
+ "homepage": "https://github.com/malkusch/lock",
|
|
|
+ "keywords": [
|
|
|
+ "advisory locks",
|
|
|
+ "cas",
|
|
|
+ "flock",
|
|
|
+ "lock",
|
|
|
+ "locking",
|
|
|
+ "memcache",
|
|
|
+ "mutex",
|
|
|
+ "mysql",
|
|
|
+ "postgresql",
|
|
|
+ "redis",
|
|
|
+ "redlock",
|
|
|
+ "semaphore"
|
|
|
+ ],
|
|
|
+ "support": {
|
|
|
+ "issues": "https://github.com/php-lock/lock/issues",
|
|
|
+ "source": "https://github.com/php-lock/lock/tree/v1.4"
|
|
|
+ },
|
|
|
+ "install-path": "../malkusch/lock"
|
|
|
+ },
|
|
|
+ {
|
|
|
"name": "markrogoyski/math-php",
|
|
|
"version": "v0.49.0",
|
|
|
"version_normalized": "0.49.0.0",
|
|
|
@@ -4877,6 +5117,69 @@
|
|
|
"install-path": "../openzipkin/zipkin"
|
|
|
},
|
|
|
{
|
|
|
+ "name": "paragonie/random_compat",
|
|
|
+ "version": "v2.0.19",
|
|
|
+ "version_normalized": "2.0.19.0",
|
|
|
+ "source": {
|
|
|
+ "type": "git",
|
|
|
+ "url": "https://github.com/paragonie/random_compat.git",
|
|
|
+ "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241"
|
|
|
+ },
|
|
|
+ "dist": {
|
|
|
+ "type": "zip",
|
|
|
+ "url": "https://api.github.com/repos/paragonie/random_compat/zipball/446fc9faa5c2a9ddf65eb7121c0af7e857295241",
|
|
|
+ "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241",
|
|
|
+ "shasum": "",
|
|
|
+ "mirrors": [
|
|
|
+ {
|
|
|
+ "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
|
|
|
+ "preferred": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "require": {
|
|
|
+ "php": ">=5.2.0"
|
|
|
+ },
|
|
|
+ "require-dev": {
|
|
|
+ "phpunit/phpunit": "4.*|5.*"
|
|
|
+ },
|
|
|
+ "suggest": {
|
|
|
+ "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
|
|
|
+ },
|
|
|
+ "time": "2020-10-15T10:06:57+00:00",
|
|
|
+ "type": "library",
|
|
|
+ "installation-source": "dist",
|
|
|
+ "autoload": {
|
|
|
+ "files": [
|
|
|
+ "lib/random.php"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "notification-url": "https://packagist.org/downloads/",
|
|
|
+ "license": [
|
|
|
+ "MIT"
|
|
|
+ ],
|
|
|
+ "authors": [
|
|
|
+ {
|
|
|
+ "name": "Paragon Initiative Enterprises",
|
|
|
+ "email": "security@paragonie.com",
|
|
|
+ "homepage": "https://paragonie.com"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
|
|
|
+ "keywords": [
|
|
|
+ "csprng",
|
|
|
+ "polyfill",
|
|
|
+ "pseudorandom",
|
|
|
+ "random"
|
|
|
+ ],
|
|
|
+ "support": {
|
|
|
+ "email": "info@paragonie.com",
|
|
|
+ "issues": "https://github.com/paragonie/random_compat/issues",
|
|
|
+ "source": "https://github.com/paragonie/random_compat"
|
|
|
+ },
|
|
|
+ "install-path": "../paragonie/random_compat"
|
|
|
+ },
|
|
|
+ {
|
|
|
"name": "phar-io/manifest",
|
|
|
"version": "1.0.3",
|
|
|
"version_normalized": "1.0.3.0",
|