Registry / networking / psr-http-factory

psr-http-factory

JSON →
library1.1.0phppackagistunverified

PSR-17: Common interfaces for PSR-7 HTTP message factories.

composer require psr/http-factory
INSTALL
IMPORT
SIG · PSR-HTTP-FACTORY
P
psr-http-factory
networkingphpv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ServerRequestFactoryInterface
use Psr\Http\Message\ServerRequestFactoryInterface;

Creates a server request using a PSR-17 factory.

use Psr\Http\Message\ServerRequestFactoryInterface; // Example using a concrete implementation $factory = new \Nyholm\Psr7\Factory\Psr17Factory(); $request = $factory->createServerRequest('GET', '/');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
psr-http-factory — pip install psr-http-factory · libregistry