-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
82 lines (82 loc) · 2.68 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
72
73
74
75
76
77
78
79
80
81
82
{
"name": "bitpanda/cache-utils",
"description": "Cache utils is a set of caching tools and cache strategies to build effective caching solutions in your application.",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Bitpanda\\CacheUtils\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Bitpanda\\CacheUtils\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Petr Levtonov",
"email": "petr.levtonov@bitpanda.com"
}
],
"archive": {
"exclude": [
"/.editorconfig",
"/.git",
"/.gitattributes",
"/.github",
"/.gitignore",
"/.php-cs-fixer.dist.php",
"/CHANGELOG.md",
"/composer.lock",
"/phpstan.neon.dist",
"/phpunit.xml.dist",
"/tests"
]
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true,
"require-dev": {
"aws/aws-sdk-php": "^3.92.5",
"friendsofphp/php-cs-fixer": "^3.64.0",
"nesbot/carbon": "^2.62.1 || ^3.0.0",
"phpstan/phpstan": "^1.12.0",
"phpunit/phpunit": "^11.3.0",
"roave/security-advisories": "dev-latest"
},
"require": {
"php": "^8.2.0",
"psr/simple-cache": "^1.0.1 || ^2.0.0 || ^3.0.0"
},
"suggest": {
"aws/aws-sdk-php": "To use the AWS to Laravel cache adapter.",
"nesbot/carbon": "To use the stale while revalidate cache strategy."
},
"scripts": {
"all": [
"composer lint",
"composer csf",
"composer static",
"composer coverage"
],
"ci": [
"composer lint",
"composer cs",
"composer static",
"composer coverage"
],
"lint": "find . -not -path './vendor/*' -type f -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l -n | (! grep -v \"No syntax errors detected\" )",
"cs": "vendor/bin/php-cs-fixer fix --dry-run --verbose --ansi",
"csf": "vendor/bin/php-cs-fixer fix --verbose --ansi",
"static": "vendor/bin/phpstan --ansi --no-progress --memory-limit=4G analyse",
"test": "vendor/bin/phpunit --no-coverage",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text",
"coverage-html": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-html=coverage",
"coverage-clover": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml"
}
}