Skip to content

Commit 55cd545

Browse files
committed
Improved tooling, added support for Laravel 12
1 parent 324bd93 commit 55cd545

5 files changed

Lines changed: 531 additions & 355 deletions

File tree

composer.json

Lines changed: 58 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,60 @@
11
{
2-
"name": "matchory/response-cache",
3-
"description": "A package to add automatic response caching to Laravel APIs.",
4-
"type": "library",
5-
"require": {
6-
"php": ">=8.2",
7-
"illuminate/support": "^v10.48.27|^11.40.0"
8-
},
9-
"require-dev": {
10-
"illuminate/auth": "^v10.48.27|^11.40.0",
11-
"illuminate/cache": "^v10.48.27|^11.40.0",
12-
"illuminate/contracts": "^v10.48.27|^v11.40.0",
13-
"illuminate/http": "^v10.48.27|^v11.40.0",
14-
"orchestra/testbench": "^9.9",
15-
"pestphp/pest": "^3.7",
16-
"pestphp/pest-plugin-laravel": "^3.1",
17-
"phpunit/phpunit": "^10.5.41|^11.5.3"
18-
},
19-
"autoload": {
20-
"psr-4": {
21-
"Matchory\\ResponseCache\\": "src/"
22-
}
23-
},
24-
"autoload-dev": {
25-
"psr-4": {
26-
"Matchory\\ResponseCache\\Tests\\": "tests/"
27-
}
28-
},
29-
"prefer-stable": true,
30-
"extra": {
31-
"laravel": {
32-
"providers": [
33-
"Matchory\\ResponseCache\\ResponseCacheProvider"
34-
],
35-
"aliases": {
36-
"ResponseCache": "Matchory\\ResponseCache\\Facades\\ResponseCache"
37-
}
38-
}
39-
},
40-
"config": {
41-
"sort-packages": true,
42-
"allow-plugins": {
43-
"pestphp/pest-plugin": true
44-
}
45-
},
46-
"license": "MIT",
47-
"authors": [
48-
{
49-
"name": "Moritz Friedrich",
50-
"email": "moritz@matchory.com"
51-
}
52-
]
2+
"name": "matchory/response-cache",
3+
"description": "A package to add automatic response caching to Laravel APIs.",
4+
"type": "library",
5+
"require": {
6+
"php": ">=8.2",
7+
"illuminate/support": "^v10.48.27|^11.40.0|^v12.1.1"
8+
},
9+
"require-dev": {
10+
"illuminate/auth": "^v10.48.27|^11.40.0|^v12.1.1",
11+
"illuminate/cache": "^v10.48.27|^11.40.0|^v12.1.1",
12+
"illuminate/contracts": "^v10.48.27|^v11.40.0|^v12.1.1",
13+
"illuminate/http": "^v10.48.27|^v11.40.0|^v12.1.1",
14+
"laravel/pint": "^1.21",
15+
"orchestra/testbench": "^v10.1.0",
16+
"pestphp/pest": "^v3.7.4",
17+
"pestphp/pest-plugin-laravel": "^3.1.0",
18+
"phpstan/phpstan": "^2.1",
19+
"phpunit/phpunit": "^11.5.3"
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"Matchory\\ResponseCache\\": "src/"
24+
}
25+
},
26+
"autoload-dev": {
27+
"psr-4": {
28+
"Matchory\\ResponseCache\\Tests\\": "tests/"
29+
}
30+
},
31+
"prefer-stable": true,
32+
"extra": {
33+
"laravel": {
34+
"providers": [
35+
"Matchory\\ResponseCache\\ResponseCacheProvider"
36+
],
37+
"aliases": {
38+
"ResponseCache": "Matchory\\ResponseCache\\Facades\\ResponseCache"
39+
}
40+
}
41+
},
42+
"scripts": {
43+
"test": "pest",
44+
"fmt": "pint",
45+
"analyze": "phpstan --memory-limit=-1 analyse"
46+
},
47+
"config": {
48+
"sort-packages": true,
49+
"allow-plugins": {
50+
"pestphp/pest-plugin": true
51+
}
52+
},
53+
"license": "MIT",
54+
"authors": [
55+
{
56+
"name": "Moritz Friedrich",
57+
"email": "moritz@matchory.com"
58+
}
59+
]
5360
}

0 commit comments

Comments
 (0)