-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
102 lines (102 loc) · 2.97 KB
/
composer.json
File metadata and controls
102 lines (102 loc) · 2.97 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
96
97
98
99
100
101
102
{
"name": "iprodev/php-easycache",
"description": "PHP EasyCache is a lightweight, multi-backend (APCu/Redis/File/PDO) with SWR caching library that speeds up repeated API calls with thread‑safe writes, per‑key TTLs, automatic cleanup, key sanitization, and optional compression.",
"type": "library",
"license": "MIT",
"keywords": [
"cache",
"psr-16",
"swr",
"stale-while-revalidate",
"file cache",
"redis",
"apcu",
"sqlite",
"mysql",
"postgresql",
"multi-tier",
"compression",
"serialization",
"laravel"
],
"authors": [
{
"name": "iprodev",
"email": "dev@iprodev.com"
}
],
"require": {
"php": "^8.1",
"psr/simple-cache": "^3.0",
"psr/log": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "^1.12",
"squizlabs/php_codesniffer": "^3.9"
},
"suggest": {
"ext-apcu": "To use APCu backend for ultra-fast in-memory caching",
"ext-redis": "To use phpredis for Redis backend",
"predis/predis": "^2.0 - To use predis client instead of phpredis",
"ext-zlib": "To use GzipCompressor for data compression",
"ext-zstd": "To use ZstdCompressor for faster data compression",
"monolog/monolog": "^3.0 - For comprehensive logging support"
},
"autoload": {
"psr-4": {
"Iprodev\\EasyCache\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Iprodev\\EasyCache\\Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"providers": [
"Iprodev\\EasyCache\\Laravel\\EasyCacheServiceProvider"
],
"aliases": {
"EasyCache": "Iprodev\\EasyCache\\Laravel\\Facades\\EasyCache"
}
}
},
"scripts": {
"test": "phpunit --colors=always",
"test:coverage": "phpunit --colors=always --coverage-html coverage --coverage-text",
"test:filter": "phpunit --colors=always --filter",
"stan": "phpstan analyse --memory-limit=512M --level=8 src",
"stan:baseline": "phpstan analyse --memory-limit=512M --level=8 --generate-baseline",
"cs": "phpcs --standard=PSR12 src tests",
"cs:fix": "phpcbf --standard=PSR12 src tests",
"qa": [
"@cs",
"@stan",
"@test"
],
"docs": "echo 'See API.md, README.md, and EXAMPLES.md for documentation'"
},
"scripts-descriptions": {
"test": "Run all PHPUnit tests",
"test:coverage": "Run tests with HTML coverage report",
"test:filter": "Run specific test by name (e.g., composer test:filter testSetAndGet)",
"stan": "Run PHPStan static analysis",
"stan:baseline": "Generate PHPStan baseline for existing issues",
"cs": "Check code style (PSR-12)",
"cs:fix": "Fix code style issues automatically",
"qa": "Run all quality assurance checks (cs, stan, test)",
"docs": "Show documentation files"
},
"bin": [
"bin/easycache-prune"
],
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"preferred-install": "dist"
},
"minimum-stability": "stable",
"prefer-stable": true
}