php-http/message-factory
Legacy PSR-7 HTTP message factory for PHP. Supports creating PSR-7 compliant HTTP messages (Request, Response, Stream, etc.) with ease. Maintains backward compatibility for existing codebases while encouraging migration to PSR-17 factories (now standard in major clients like Guzzle, Symfony HTTP Cli...
Architecture fit is poor for new projects as PSR-17 is the established standard; this package only serves legacy use cases. Integration feasibility is low since it's explicitly deprecated and not recommended for new code. High technical risk due to archived status (no maintenance/security updates), potential compatibility issues with modern HTTP clients, and dependency on obsolete interfaces. Key questions: Are there existing systems still dependent on this package? What is the migration timeline to PSR-17-compliant factories? Which PSR-17 implementations (e.g., Guzzle, Nyholm) will replace it?
Stack fit is non-existent for new projects—PSR-17 factories from major HTTP clients (e.g., guzzlehttp/psr7, nyholm/psr7) should be used instead. Migration path requires replacing all usages with PSR-17 factories; existing code must be audited for MessageFactory dependencies and refactored to use Psr\Http\Message\FactoryInterface implementations. Compatibility is limited to legacy PSR-7 v1/v2 systems but conflicts with modern HTTP client standards. Sequencing: Immediately halt new usage, prioritize migrating existing dependencies in next sprint cycle, and validate compatibility with target PSR-17 implementations before full cutover.
Maintenance is negligible (archived, no active development) but creates technical debt; any fixes would require community contributions. Support is limited—official documentation redirects to PSR-17, and community resources are minimal. Scaling is irrelevant (interfaces only), but legacy usage may cause integration failures with newer HTTP clients. Failure modes include runtime incompatibilities when used with PSR-17-compliant libraries and security vulnerabilities from unpatched dependencies. Ramp-up is unnecessary for new developers; teams should focus on PSR-17 adoption instead.
How can I help you explore Laravel packages today?