banker/composer.json
Timothy J. Warren 73e646da5a
All checks were successful
Gitea - aviat/banker/pipeline/head This commit looks good
Try to be less clever in redis get method
2023-03-16 22:09:17 -04:00

63 lines
1.5 KiB
JSON

{
"name": "aviat/banker",
"type": "library",
"description": "A caching library implementing PSR-6 (psr/cache) and PSR-16 (psr/simple-cache)",
"keywords": [
"cache",
"redis",
"memcached",
"psr-6",
"psr6",
"psr16",
"psr-16"
],
"provide": {
"psr/cache-implementation": "^3.0.0",
"psr/simple-cache-implementation": "^3.0.0"
},
"autoload": {
"psr-4": {
"Aviat\\Banker\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Aviat\\Banker\\Tests\\": "tests/"
}
},
"require": {
"php": ">= 8",
"ext-json": "*",
"predis/predis": "^v2.1.2",
"psr/log": "^1.1.0 || ^3.0.0",
"psr/cache": "^3.0.0",
"psr/simple-cache": "^3.0.0"
},
"require-dev": {
"ext-apcu": "*",
"ext-memcached": "*",
"monolog/monolog": "^3.3.1",
"phpunit/phpunit": "^10.0.16"
},
"suggest": {
"monolog/monolog": "A good standard logging library",
"ext-apcu": "Required for apcu driver",
"ext-memcached": "Required for Memcached backend",
"ext-phpiredis": "Improves speed of Redis driver"
},
"license": "MIT",
"authors": [
{
"name": "Timothy J Warren",
"email": "tim@timshomepage.net"
}
],
"scripts": {
"test": "vendor/bin/phpunit -c build --no-coverage",
"docs": "tools/phpdocumentor run --sourcecode",
"coverage": "php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/phpunit -c build",
"phpstan": "tools/vendor/bin/phpstan analyse src tests",
"ci:phpstan": "tools/vendor/bin/phpstan analyse -c phpstan.neon -n --no-progress --no-ansi --error-format=checkstyle > build/logs/phpstan.log"
}
}