Skip to content

Commit e6935c4

Browse files
committed
Add nyholm/psr7 to the official recipes
1 parent d9dc7a8 commit e6935c4

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
services:
2+
_defaults:
3+
public: false
4+
5+
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
6+
Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
7+
Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
8+
Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
9+
Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
10+
Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
11+
Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'
12+
13+
nyholm.psr7.psr17_factory:
14+
class: Nyholm\Psr7\Factory\Psr17Factory

nyholm/psr7/1.0/manifest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
}
5+
}

0 commit comments

Comments
 (0)