-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomposer.json
More file actions
95 lines (95 loc) · 3.59 KB
/
composer.json
File metadata and controls
95 lines (95 loc) · 3.59 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "bear/query-repository",
"description": "About\nResource Query Responsibility Segregation (RQRS) is a caching framework for BEAR.Sunday that optimizes performance by separating query and command responsibilities. It features event-driven cache invalidation, dependency resolution, donut caching, CDN integration, and conditional requests.",
"keywords": [
"caching",
"event-driven-content",
"donut caching",
"ETag"
],
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "akihito.koriyama@gmail.com"
}
],
"require": {
"php": "^8.2",
"bear/resource": "^1.16.1",
"bear/sunday": "^1.5",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"ray/aop": "^2.19.1",
"ray/di": "^2.20",
"ray/psr-cache-module": "^1.5.1",
"symfony/cache": "^5.3 || ^6.0 || ^7.3",
"symfony/cache-contracts": "^2.4 || ^3.0",
"symfony/polyfill-php83": "^v1.32.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"bear/fastly-module": "^1.0",
"madapaja/twig-module": "^2.6",
"mobiledetect/mobiledetectlib": "^3.74 || ^4.8",
"phpunit/phpunit": "^11.0",
"predis/predis": "^2.4",
"symfony/process": "^6.1 || ^7.1",
"twig/twig": "^3.4.3"
},
"suggest": {
"ext-redis": "Required for Redis cache storage backend",
"ext-memcached": "Required for Memcached cache storage backend"
},
"autoload": {
"psr-4": {
"BEAR\\QueryRepository\\": ["src/", "src-deprecated/"],
"BEAR\\RepositoryModule\\Annotation\\": ["src-annotation/", "src-annotation-deprecated"]
}
},
"autoload-dev": {
"psr-4": {
"BEAR\\QueryRepository\\": [
"tests/",
"tests-deprecated/",
"tests-pecl-ext/",
"tests/Fake/",
"tests-php8/Fake"
],
"FakeVendor\\HelloWorld\\": [
"tests/Fake/fake-app/src"
]
},
"files": [
"tests/Fake/Memcached.php",
"tests/Fake/Redis.php",
"tests/Fake/RedisException.php",
"tests/syslog.php"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"bamarni/composer-bin-plugin": true
}
},
"scripts" :{
"test": ["./vendor/bin/phpunit"],
"tests": ["@cs", "@sa", "@test"],
"coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"],
"cs": ["./vendor/bin/phpcs"],
"cs-fix": ["./vendor/bin/phpcbf src src-annotation tests"],
"clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache", "rm -rf tests/tmp/*.php"],
"sa": ["./vendor/bin/psalm --show-info=true", "./vendor/bin/phpstan analyse -c phpstan.neon"],
"metrics": ["./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception --junit=build/junit.xml src"],
"phpmd": ["./vendor/bin/phpmd --exclude src/Annotation src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov", "@metrics"]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}