-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
composer.json
71 lines (71 loc) · 2.46 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "rhubarbgroup/redis-cache",
"description": "A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.",
"homepage": "https://github.com/rhubarbgroup/redis-cache",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Till Krüss",
"homepage": "https://till.im/"
}
],
"support": {
"docs": "https://github.com/rhubarbgroup/redis-cache",
"issues": "https://github.com/rhubarbgroup/redis-cache/issues"
},
"keywords": [
"redis",
"wordpress"
],
"require": {
"php": "^7.2 || ^8.0",
"composer/installers": "~1.0 || ~2.0",
"mnsami/composer-custom-directory-installer": "^2.0",
"predis/predis": "^1.1 || ^2.0",
"colinmollenhour/credis": "^1.12.1"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"dms/phpunit-arraysubset-asserts": "^0.4.0",
"php-stubs/wp-cli-stubs": "^2.7",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"squizlabs/php_codesniffer": "^3.7",
"szepeviktor/phpstan-wordpress": "^1.1",
"wp-coding-standards/wpcs": "^2.3",
"yoast/wp-test-utils": "^1.0"
},
"autoload-dev": {
"psr-4": {
"Rhubarb\\RedisCache\\": "includes/",
"Tests\\": "tests/"
}
},
"extra": {
"installer-paths": {
"dependencies/predis/predis": ["predis/predis"],
"dependencies/colinmollenhour/credis": ["colinmollenhour/credis"]
}
},
"suggest": {
"ext-redis": "Required to use PhpRedis as the object cache backend.",
"ext-relay": "Required to use Relay as the object cache backend."
},
"scripts": {
"phpcs": "phpcs",
"phpcs:fix": "phpcbf",
"phpstan": [
"sed -e 's#WP_Object_Cache#Redis_Pro_WP_Object_Cache#;s#class Redis_Pro_WP_Object_Cache#& extends WP_Object_Cache#' includes/object-cache.php > tests/PHPStan/object-cache.php",
"phpstan analyze"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"mnsami/composer-custom-directory-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}