PSR-7 HTTP Message Interfaces is a set of standardized PHP interfaces for representing HTTP request and response messages, URIs, streams, and uploaded files as immutable value objects. These interfaces define a common contract that enables interoperability between PHP frameworks and libraries when handling HTTP messages, ensuring that any implementation can be used interchangeably.
The main features of php-fig/http-message are: Immutable HTTP Message Models, Immutable HTTP Message, PHP Interface Standards, Uploaded File Interfaces, Streamed Message Body Interfaces, Uploaded File Tree Normalizations, Parameter Bag Abstractions, Multi-Value Headers.
Open-source alternatives to php-fig/http-message include: boostorg/beast — Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an… ralouphie/getallheaders — This project is a PHP environment compatibility library and polyfill designed to provide a consistent interface for… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… aplus-framework/http — This library provides a foundational set of tools for managing HTTP communication within PHP web applications. It… zendframework/zendframework — Zend Framework is a comprehensive set of decoupled components for building modular, event-driven web applications. It… elastic/elasticsearch-php — This project is a software development kit and cluster management tool for PHP. It serves as a full-text search SDK…
Beast is a C++ library for implementing low-level HTTP and WebSocket clients and servers. It functions as an asynchronous networking framework designed to compose non-blocking I/O operations and layered stream stacks for managing concurrent network traffic, specifically utilizing the Boost.Asio asynchronous model. The library provides a comprehensive implementation of the HTTP/1.1 and WebSocket protocols. For HTTP, it includes primitives for parsing and serializing messages with support for chunked transfer encoding, incremental body reading, and request pipelining. Its WebSocket implementati
CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools
This project is a PHP environment compatibility library and polyfill designed to provide a consistent interface for retrieving all incoming HTTP request headers. It functions as a request header parser that extracts and normalizes raw server variables into a predictable associative array. The library ensures cross-platform behavior by detecting missing native functions at runtime and injecting fallback implementations. This allows for standardized request header retrieval and server variable normalization across diverse server architectures and configurations.
This library provides a foundational set of tools for managing HTTP communication within PHP web applications. It focuses on the lifecycle of client-server interactions by parsing incoming request data into structured objects and facilitating the construction of protocol-compliant server responses. The architecture is built around immutable data structures that ensure state consistency throughout the application lifecycle. It incorporates lazy header parsing to reduce memory overhead and utilizes stream-based management for handling request and response payloads. By adhering to established co