Registry / http-client / symfony-psr-http-message-bridge

symfony-psr-http-message-bridge

JSON →
library8.1.0phppackagistunverified

PSR HTTP message bridge

composer require symfony/psr-http-message-bridge
INSTALL
IMPORT
SIG · SYMFONY-PSR-HTTP-M
S
symfony-psr-http-message-bridge
http-clientphpv8.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.

PsrHttpFactory
use Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory;

Converts a Symfony Request to a PSR-7 ServerRequestInterface.

use Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory; use Symfony\Component\HttpFoundation\Request; $symfonyRequest = Request::createFromGlobals(); $psrFactory = new PsrHttpFactory(); $psrRequest = $psrFactory->createRequest($symfonyRequest);
Debug
Known issues
breakingVersion 8.1.0 requires Symfony 7.2+ and PHP 8.3+.
fix
Use version ^7.0 for Symfony 6.x compatibility.
affects: >=8.0.0
Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
symfony-psr-http-message-bridge — pip install symfony-psr-http-message-bridge · libregistry