fig/http-message-util
Utility constants and helpers for PSR-7 HTTP messages: request methods, response status codes and reason phrases, and common header references. Not a PSR-7 implementation—just shared values to standardize HTTP message handling.
StatusCodeInterface::STATUS_EARLY_HINTS (103) and
StatusCodeInterface::STATUS_TOO_EARLY (425).StatusCodeInterface::STATUS_MIDIRECTED_REQUEST (421).StatusCodeInterface::STATUS_IM_A_TEAPOT (418).Initial release.
Provides Fig\Http\Message\RequestMethodInterface, with constants mapping to the most common HTTP request methods.
Fig\Http\Message\StatusCodeInterface, with constants named after common status reason phrases, with values indicating the status codes themselves.How can I help you explore Laravel packages today?