awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
php-http avatar

php-http/client-common

0
View on GitHub↗
1,050 stars·53 forks·PHP·MIT·18 viewshttplug.io↗

Client Common

This library provides a standardized abstraction layer for PHP HTTP clients, enabling consistent request handling across diverse network transport implementations. It serves as a foundational toolkit for developers to manage network communication through unified interfaces, ensuring that application logic remains decoupled from specific underlying transport libraries.

The project distinguishes itself through a decorator-based pipeline and a plugin-driven lifecycle system. These mechanisms allow for the interception and modification of request and response data, as well as the injection of custom logic for cross-cutting concerns like authentication and logging, without requiring changes to the core transport layer.

Beyond these core patterns, the library includes utilities for parallel request execution to minimize latency when interacting with multiple external sources. It also provides a fluent builder interface and shorthand methods for standard HTTP verbs to reduce boilerplate code during the construction and dispatch of network requests.

Features

  • HTTP Client Adapters - Standardizes how applications interact with various network libraries by using consistent adapters that hide underlying implementation details.
  • HTTP Client Interfaces - Provides standardized interfaces for sending structured HTTP requests to remote services.
  • Adapter Patterns - Implements design patterns to wrap existing classes and provide compatible interfaces for diverse network transports.
  • HTTP Middleware Pipelines - Provides middleware chains that intercept and transform HTTP requests and responses for custom behavior like logging or authentication.
  • Request Pipelines - Provides an architectural pattern for intercepting and modifying network requests through sequential lifecycle hooks.
  • Plugin Lifecycle Hooks - Triggers custom scripts during specific stages of the plugin lifecycle to handle cross-cutting concerns.
  • Concurrent HTTP Clients - Executes multiple HTTP requests in parallel to optimize network retrieval and connection reuse.
  • Fluent HTTP Request Configuration - Offers a builder pattern allowing sequential method calls to configure HTTP request parameters.
  • Parallel Request Executions - Sends multiple HTTP requests concurrently using thread-based or event-driven mechanisms to reduce total wait time.
  • Request and Response Modifiers - Wraps HTTP clients to intercept, modify, or extend request and response behavior through a unified interface.
  • Client Plugin Systems - Provides a framework for injecting custom logic into the request lifecycle to handle cross-cutting concerns.
  • Intercepting HTTP Clients - Wraps existing network clients with interceptor chains for centralized request and response processing.
  • Request Lifecycle Hooks - Supports a plugin system to inject custom logic into the request and response lifecycle for handling tasks like logging or authentication.

Star history

Star history chart for php-http/client-commonStar history chart for php-http/client-common

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Client Common

Similar open-source projects, ranked by how many features they share with Client Common.
  • lostisland/faradaylostisland avatar

    lostisland/faraday

    5,946View on GitHub↗

    Faraday is an HTTP client library for Ruby that sends requests and processes responses through a middleware pipeline with pluggable adapters. Its core identity is built around a middleware-pipeline architecture where HTTP requests and responses flow through a chain of components that can modify, log, or transform data before reaching the backend, combined with an adapter-based backend abstraction that delegates HTTP execution to interchangeable backends like Net::HTTP or Typhoeus. The library distinguishes itself through a parallel-execution engine that dispatches multiple HTTP requests concu

    Ruby
    View on GitHub↗5,946
  • imroc/reqimroc avatar

    imroc/req

    4,807View on GitHub↗

    req is a chainable HTTP client library for Go designed to simplify request configuration and automatic response decoding into structures. It provides a fluent-interface request builder that allows developers to incrementally define request properties and encapsulate HTTP logic into reusable API SDKs. The project distinguishes itself with a TLS fingerprint emulator that mimics browser network signatures to bypass bot detection and crawler filters. It also includes a concurrent file downloader that increases transfer speeds by fetching large remote files in parallel segments. The library cover

    Gogogolanghttp
    View on GitHub↗4,807
  • hapijs/hapihapijs avatar

    hapijs/hapi

    14,789View on GitHub↗

    Hapi is a configuration-driven web framework for building secure and scalable HTTP servers and APIs on the Node.js runtime. It functions as a REST API development framework and an enterprise server implementation focused on stability, security, and comprehensive input validation. The framework is built around a plugin-based architecture, allowing core functionality and custom logic to be organized into modular, registerable plugins. It serves as an HTTP request lifecycle manager, enabling the interception and modification of requests through pre-handlers and extensions before they reach the f

    JavaScriptapplicationframeworkhapi
    View on GitHub↗14,789
  • aws/aws-sdk-phpaws avatar

    aws/aws-sdk-php

    6,191View on GitHub↗

    The AWS SDK for PHP is a software development kit that provides HTTP client classes for every supported Amazon Web Service, enabling PHP applications to send authenticated requests and receive structured, typed response objects. It includes a credential resolution chain that automatically locates credentials from environment variables, instance profiles, or configuration files, and supports promise-based asynchronous execution for running multiple API calls concurrently to improve throughput. The SDK distinguishes itself through a middleware pipeline architecture that allows interception and

    PHP
    View on GitHub↗6,191
See all 30 alternatives to Client Common→

Frequently asked questions

What does php-http/client-common do?

This library provides a standardized abstraction layer for PHP HTTP clients, enabling consistent request handling across diverse network transport implementations. It serves as a foundational toolkit for developers to manage network communication through unified interfaces, ensuring that application logic remains decoupled from specific underlying transport libraries.

What are the main features of php-http/client-common?

The main features of php-http/client-common are: HTTP Client Adapters, HTTP Client Interfaces, Adapter Patterns, HTTP Middleware Pipelines, Request Pipelines, Plugin Lifecycle Hooks, Concurrent HTTP Clients, Fluent HTTP Request Configuration.

What are some open-source alternatives to php-http/client-common?

Open-source alternatives to php-http/client-common include: lostisland/faraday — Faraday is an HTTP client library for Ruby that sends requests and processes responses through a middleware pipeline… imroc/req — req is a chainable HTTP client library for Go designed to simplify request configuration and automatic response… aws/aws-sdk-php — The AWS SDK for PHP is a software development kit that provides HTTP client classes for every supported Amazon Web… hapijs/hapi — Hapi is a configuration-driven web framework for building secure and scalable HTTP servers and APIs on the Node.js… h3js/h3 — Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including… elbywan/wretch — Wretch is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration,…

Curated searches featuring Client Common

Hand-picked collections where Client Common appears.
  • PHP HTTP Client Libraries