Open-source PHP projects categorized as HTTP

Top 23 PHP HTTP Projects

  • Guzzle

    Guzzle, an extensible PHP HTTP client

    Project mention: What GraphQL client package are you using? | /r/PHP | 2023-06-10

    Symfony HTTP Client or Guzzle. If new build then Symfony, but have a lot of existing implementations with Guzzle. Both have worked very well. Worst case fallback to cURL.

  • http-message

    The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231

    Project mention: How to use PSR HTTP standards to upgrade your code | | 2023-02-13

    PSR-7, the standard for requests and responses

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • web-frameworks

    Which is the fastest web framework?

    Project mention: [Web Frameworks Benchmark] How is the FOMO framework handling 45k+ requests more than Swoole the framework it depends on? | /r/PHP | 2022-12-17

    Notably it seems that Fomo is using the raw Swoole Server ( rather than the HTTP-specific server wrapper which is what is used in the Swoole benchmark:

  • LaravelS

    LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

  • Requests

    Requests for PHP is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries. (by rmccue)

  • Klein

    A fast & flexible router

  • HTTPlug

    HTTPlug, the HTTP client abstraction for PHP

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • Buzz

    PHP's lightweight HTTP client (by kriswallsmith)

  • mix

    ☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、Swow、WorkerMan、FPM、CLI-Server (by mix-php)

  • http-client

    Provides powerful methods to fetch HTTP resources synchronously or asynchronously

    Project mention: Does a generic third party api connector package exist? A swiss army knife for connecting to various apis? | /r/PHP | 2023-01-28

    I like this one personality:

  • HTTPFul

    A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.

  • http-server

    An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands. (by amphp)

    Project mention: Weekly help thread | /r/PHP | 2023-05-01

    If you don't mind using external libraries, you can use something like amphp/http-server or similar, generally all async frameworks will have some http server implementation.


    Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

  • Nyholm PSR-7

    A super lightweight PSR-7 implementation

    Project mention: Creating an application #9 - http Factories | /r/yii3 | 2023-01-20

    The following example shows how to create configuration for the HTTP factories, using the nyholm/psr7 package:

  • laravel-webhook-server

    Send webhooks from Laravel apps

  • http

    Event-driven, streaming HTTP client and server implementation for ReactPHP. (by reactphp)

    Project mention: Anti-Laravel trends? | /r/PHP | 2023-03-06

    Can you give some example? I do make and consume APIs, often abstracted and sometime chained promises, and I didn't see PHP having any problems. Did you use static analysis in PHP?

  • http-client

    An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses. (by amphp)

  • laravel-csp

    Set content security policy headers in a Laravel app

    Project mention: Content Security Policy Struggles | /r/PHPhelp | 2023-02-24

    Your read the docs?

  • laravel-stripe-webhooks

    Handle Stripe webhooks in a Laravel application

  • Laminas Diactoros

    PSR HTTP Message implementations

  • guzzler

    Supercharge your app or SDK with a testing library specifically for Guzzle

  • request-migrations

    HTTP Request Migrations for API Versioning like Stripe

  • cigar

    💨 Smoke testing tool written in PHP

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-10.

PHP HTTP related posts


What are some of the best open-source HTTP projects in PHP? This list will help you:

Project Stars
1 Guzzle 22,696
2 http-message 6,828
3 web-frameworks 6,751
4 LaravelS 3,769
5 Requests 3,531
6 Klein 2,656
7 HTTPlug 2,497
8 Buzz 1,915
9 mix 1,887
10 http-client 1,804
11 HTTPFul 1,738
12 http-server 1,256
13 PHP VCR 1,105
14 Nyholm PSR-7 1,070
15 laravel-webhook-server 796
16 http 691
17 http-client 667
18 laravel-csp 635
19 laravel-stripe-webhooks 451
20 Laminas Diactoros 391
21 guzzler 272
22 request-migrations 178
23 cigar 156
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.