sabre/http
sabre/http is a lightweight toolkit for working with HTTP in PHP. It wraps superglobals and output functions into extendable, mockable Request and Response objects, making it easier to read request data and send headers/body consistently across your app.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| http-interop/http-middleware | 0.83 | Interfaces for reusable PSR-7/PSR-15-style HTTP middleware components, enabling interoperability across frameworks and libraries. Define, compose, and share middleware pipelines with minimal coupling between request handlers and implementations. | 71 | 76 | 7 | 9K | 0 | 0.3 | 20.6 | MIT | — | |
| nategood/httpful | 0.83 | Chainable PHP HTTP client for making REST requests with minimal boilerplate. Supports JSON/XML parsing, automatic serialization, custom headers, auth, redirects, and file uploads. Includes helpful debugging and response wrappers for quick API integrations. | 1,838 | 1,882 | 301 | 160K | 75 | 37.0 | 51.6 | MIT | — | |
| httpsoft/http-message | 0.82 | PSR-7 HTTP message implementation for PHP with strict types and clean, immutable value objects. Provides Request/Response, ServerRequest, URI, headers, streams, and factories, designed for interoperability across frameworks and middleware. | 86 | 86 | 5 | 30K | 0 | 26.6 | 41.3 | MIT | 1 year ago | |
| httpsoft/http-server-request | 0.82 | PSR-7/PSR-17 friendly ServerRequest implementation and helpers for building HTTP server requests in PHP. Lightweight, standards-based request object with convenient access to headers, cookies, query params, body, uploaded files, and server params. | 15 | 15 | 0 | 3K | 0 | 22.8 | 37.8 | MIT | 1 year ago | |
| spiral/http | 0.82 | Spiral HTTP provides a PSR-7/PSR-15 based request pipeline for building and composing middleware-driven HTTP applications. Lightweight, type-safe, and framework-friendly, with full docs and testing/analysis tooling. | 3 | 3 | 1 | 1K | 0 | 23.6 | 41.6 | MIT | 6 years ago | |
| amphp/http | 0.81 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 101 | 101 | 10 | 698K | 1 | 28.0 | 62.8 | MIT | 1 year ago | |
| spiral/auth-http | 0.81 | Spiral auth-http provides HTTP authentication middleware and token transports for Spiral apps. Integrate auth into request pipelines and pass credentials via headers or other HTTP mechanisms, with strong typing, tests, and framework-friendly setup. | 0 | 0 | 0 | 494 | 0 | 21.2 | 43.8 | MIT | 5 years ago | |
| laminas/laminas-diactoros | 0.80 | PSR-7 HTTP message implementation (ServerRequest, Request, Response, Stream, UploadedFile, Uri) for PHP. Includes factories and utilities for creating and normalizing requests/responses, with strong type coverage and interoperability with PSR-17/PSR-15. | 546 | 556 | 76 | 3M | 21 | 41.1 | 72.9 | BSD-3-Clause | 5 months ago | |
| zendframework/zend-http | 0.80 | Zend\Http is a PHP HTTP component for building and processing HTTP messages. It provides clients and adapters for making requests, plus request/response objects, headers, cookies, and utilities to work with URIs and HTTP-level features in your apps. | 133 | 134 | 82 | 73K | 27 | 18.2 | 56.1 | BSD-3-Clause | 6 years ago | |
| amphp/http-client | 0.80 | Async HTTP client for PHP built on Amp. Send concurrent requests with connection pooling, timeouts, redirects, proxies, TLS support, and streaming request/response bodies. Includes PSR-7/PSR-18 integration and middleware-style interceptors. | 728 | 730 | 66 | 663K | 11 | 38.1 | 53.5 | MIT | 7 months ago | |
| guzzlehttp/guzzle | 0.80 | Guzzle is a PHP HTTP client for sending sync or async requests with an easy API. Built on PSR-7 and PSR-18, supports middleware, cookies, streaming uploads/downloads, and JSON. Transport-agnostic for flexible integrations. | 23,450 | 24,300 | 2,382 | 16M | 16 | 75.5 | 60.2 | MIT | 7 months ago | |
| laminas/laminas-http | 0.80 | Laminas HTTP component providing HTTP client, request/response objects, headers and URI utilities for PHP applications. Useful for building and consuming web services, handling redirects, cookies, and proxy/adapter-based transports. | 37 | 37 | 37 | 659K | 6 | 29.7 | 69.0 | BSD-3-Clause | 4 months ago | |
| amphp/http-server | 0.79 | Asynchronous, non-blocking HTTP server for PHP built on Amp. Create high-performance web apps and APIs with event-driven I/O, middleware, routing, and streaming request/response bodies. Includes HTTP/1.1 and HTTP/2 support and TLS integration. | 1,327 | 1,327 | 101 | 550K | 17 | 43.7 | 49.7 | MIT | 2 months ago | |
| react/http-client | 0.78 | Deprecated ReactPHP streaming, event-driven HTTP client kept for BC. Development moved to react/http with a new Promise-based, PSR-7 Browser API. Upgrade recommended; see react/http for current client usage and features. | 228 | 234 | 61 | 46K | 1 | 32.1 | 37.4 | MIT | 5 years ago | |
| rmccue/requests | 0.77 | A simple, lightweight HTTP library for PHP. Requests provides an easy API for making GET/POST calls, handling headers, cookies, redirects, proxies, timeouts, and authentication, with support for transports like cURL and sockets. | 3,579 | 3,653 | 502 | 707K | 94 | 80.1 | 69.0 | NOASSERTION | 3 months ago | |
| nette/http | 0.76 | Nette HTTP provides a clean, lightweight HTTP layer for PHP apps. It handles requests, responses, headers, cookies, sessions, and URL utilities with a consistent API, making it easy to build frameworks, middleware, or standalone services. | 486 | 505 | 89 | 296K | 17 | 40.8 | 59.6 | NOASSERTION | 5 months ago |
How can I help you explore Laravel packages today?