forked from rhubarbgroup/redis-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
69 lines (69 loc) · 2.56 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
{
"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/leocolomb/redis-cache/wiki",
"issues": "https://github.com/leocolomb/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": {
"wp-coding-standards/wpcs": "^2.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"yoast/wp-test-utils": "^1.0",
"dms/phpunit-arraysubset-asserts": "^0.4.0",
"szepeviktor/phpstan-wordpress": "^1.1",
"php-stubs/wp-cli-stubs": "^2.6"
},
"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": {
"stan": [
"@php -r \"is_dir('.php-tools') || mkdir('.php-tools');\"",
"@php -r \"file_exists('.php-tools/relay.stub.php') || system('curl https://cachewerk.s3.amazonaws.com/relay/dev/relay.stub.php -o ./.php-tools/relay.stub.php');\"",
"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 > .php-tools/object-cache.php",
"phpstan analyze"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"mnsami/composer-custom-directory-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}