{"id":90001,"library":"http-interop-http-factory","title":"HTTP Factory","description":"Common interface for HTTP message factories","status":"active","version":"0.4.1","language":"php","source_language":null,"source_url":"https://github.com/http-interop/http-factory","tags":["psr-17","http","factory","interop"],"install":[{"cmd":"composer require http-interop/http-factory","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"ServerRequestFactoryInterface","correct":"use Http\\Factory\\ServerRequestFactoryInterface;"}],"quickstart":{"code":"<?php\nuse Http\\Factory\\ServerRequestFactoryInterface;\n\n// Typically used via a PSR-17 implementation\n$factory = new SomeImplementation\\ServerRequestFactory();\n$request = $factory->createServerRequest('GET', '/');","lang":"php","description":"Create a server request using a PSR-17 factory"},"warnings":[{"fix":"Install a PSR-17 implementation package","message":"This package only provides interfaces; you need a concrete implementation like nyholm/psr7","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"search_vec":"'-17':10 'common':3 'factori':2,8,12 'http':1,6,11 'interfac':4 'interop':13 'messag':7 'psr':9","created_at":"2026-06-19T08:56:18.641192+00:00","updated_at":"2026-06-19T08:56:18.641192+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/http-interop/http-factory","github":"https://github.com/http-interop/http-factory","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}