{ "name": "nikolaposa/rate-limit", "description": "General purpose rate limiter implementation.", "type": "library", "license": "MIT", "keywords": [ "rate limit", "redis" ], "authors": [ { "name": "Nikola Poša", "email": "posa.nikola@gmail.com", "homepage": "https://www.nikolaposa.in.rs" } ], "config": { "sort-packages": true }, "require": { "php": "^8.1", "beberlei/assert": "^3.2" }, "require-dev": { "ext-apcu": ">=5.1.12", "ext-redis": "*", "friendsofphp/php-cs-fixer": "3.44", "phpstan/phpstan": "^1.10", "phpstan/phpstan-beberlei-assert": "^1.1", "phpstan/phpstan-phpunit": "^1.3", "phpunit/phpunit": "^10.5", "predis/predis": "^1.1" }, "suggest": { "ext-apcu": "In order to use ApcuRateLimiter", "ext-memcached": "In order to use MemcachedRateLimiter", "ext-redis": "In order to use RedisRateLimiter", "predis/predis": "In order to use PredisRateLimiter" }, "autoload": { "psr-4": { "RateLimit\\": "src/" } }, "autoload-dev": { "psr-4": { "RateLimit\\Tests\\": "tests/" } }, "scripts": { "test": "phpunit --colors=always", "cs-fix": "php-cs-fixer fix --config=.php_cs", "stan": "phpstan analyse" }, "extra": { "branch-alias": { "dev-master": "3.2.x-dev" } } }