8000 Cache: Provide psr/simple-cache-implementation (#38767) · laravel/framework@50eca08 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50eca08

Browse files
authored
Cache: Provide psr/simple-cache-implementation (#38767)
Illuminate\Cache\Repository implements PSR-16's Psr\SimpleCache\CacheInterface via the Illuminate\Contracts\Cache\Repository interface. Let's declare that `illuminate/cache` and `laravel/framework` provide `psr/simple-cache-implementation` so that packages relying on `psr/simple-cache implementation` for a PSR-16 cache can be installed in a Laravel project.
1 parent 240bf68 commit 50eca08

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
"symfony/cache": "^5.1.4"
9292
},
9393
"provide": {
94-
"psr/container-implementation": "1.0"
94+
"psr/container-implementation": "1.0",
95+
"psr/simple-cache-implementation": "1.0"
9596
},
9697
"conflict": {
9798
"tightenco/collect": "<5.5.33"

src/Illuminate/Cache/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"illuminate/macroable": "^8.0",
2121
"illuminate/support": "^8.0"
2222
},
23+
"provide": {
24+
"psr/simple-cache-implementation": "1.0"
25+
},
2326
"autoload": {
2427
"psr-4": {
2528
"Illuminate\\Cache\\": ""

0 commit comments

Comments
 (0)
0