Registry / networking / tuupola-http-factory

tuupola-http-factory

JSON →
library1.4.0phppackagistunverified

Lightweight autodiscovering PSR-17 HTTP factories

composer require tuupola/http-factory
INSTALL
IMPORT
SIG · TUUPOLA-HTTP-FACTO
T
tuupola-http-factory
networkingphpv1.4.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.

ResponseFactory
use Tuupola\Http\Factory\ResponseFactory;

Create a PSR-7 Response using the factory

use Tuupola\Http\Factory\ResponseFactory; $factory = new ResponseFactory(); $response = $factory->createResponse(200, 'OK'); echo $response->getStatusCode();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
tuupola-http-factory — pip install tuupola-http-factory · libregistry