PHP HTTP

Open-source PHP projects categorized as HTTP | Edit details

Top 23 PHP HTTP Projects

  • Guzzle

    Guzzle, an extensible PHP HTTP client

    Project mention: Queues vs Schedule to monitor websites | reddit.com/r/laravel | 2022-05-11

    I am busy building a small application that monitors websites using guzzle. My idea is to run through the list of websites alphabetically and make a guzzle request to each and update my table with the http response codes of each site.

  • http-foundation

    The HttpFoundation component defines an object-oriented layer for the HTTP specification.

    Project mention: Sweet'n'safe arrays & types | reddit.com/r/PHP | 2021-11-25

    This seems extremely similar to parameter bag - how is this different/better?

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • http-kernel

    The HttpKernel component provides a structured process for converting a Request into a Response.

    Project mention: How do you test your code ? | reddit.com/r/PHP | 2022-05-05

    In that regard, someone posted symfony's test suite as an example of good PHPUnit testing. The first file I clicked on demonstrated how worthless (IMO) unit testing can be: https://github.com/symfony/http-kernel/blob/v6.0.8/Tests/CacheClearer/ChainCacheClearerTest.php

  • 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: [OOP] Best practice in structuring class hierarchies. I would like an API request to contact 2 different platforms, each in (the same) 2 different ways (GET and POST). How should I structure my class hierarchy? Thanks :) | reddit.com/r/PHPhelp | 2022-05-14
  • web-frameworks

    Which is the fastest web framework?

    Project mention: Slower than Go, Java and JS? | reddit.com/r/rust | 2022-04-25
  • 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)

    Project mention: API Client Design Across Languages - Part 2 - Making Requests | dev.to | 2022-03-29

    Like Node.js, the PHP ecosystem has quite a number of good HTTP request libraries. Guzzle is perhaps one of the most well known, but there are many other popular libraries out there. Luckily, PHP also has some interface standards around HTTP clients and messages, particularly PSR-7, PSR-17, and PSR-18,

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • HTTPlug

    HTTPlug, the HTTP client abstraction for PHP

    Project mention: API Client Design Across Languages - Part 2 - Making Requests | dev.to | 2022-03-29

    Like Node.js, the PHP ecosystem has quite a number of good HTTP request libraries. Guzzle is perhaps one of the most well known, but there are many other popular libraries out there. Luckily, PHP also has some interface standards around HTTP clients and messages, particularly PSR-7, PSR-17, and PSR-18,

  • Buzz

    PHP's lightweight HTTP client

  • mix

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

    Project mention: Anyone have production examples or prototypes you built in Swoole? | reddit.com/r/PHP | 2022-03-27
  • HTTPFul

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

    Project mention: API Client Design Across Languages - Part 2 - Making Requests | dev.to | 2022-03-29

    Like Node.js, the PHP ecosystem has quite a number of good HTTP request libraries. Guzzle is perhaps one of the most well known, but there are many other popular libraries out there. Luckily, PHP also has some interface standards around HTTP clients and messages, particularly PSR-7, PSR-17, and PSR-18,

  • http-client

    The HttpClient component provides powerful methods to fetch HTTP resources synchronously or asynchronously. (by symfony)

    Project mention: Another PHP 8++ cheat sheet | dev.to | 2022-02-22

    There are many ways but I prefer using the http-client package: composer require symfony/http-client.

  • PHP VCR

    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: Validate your PHP API tests against OpenAPI definitions – a Laravel example | dev.to | 2022-03-22

    The Symfony folks thought of this, however, and provided a bridge that converts HttpFoundation objects to PSR-7 ones. The bridge simply needs a PSR-7 and PSR-17 factory, for which they suggest to use Tobias Nyholm's PSR-7 implementation.

  • laravel-webhook-server

    Send webhooks from Laravel apps

  • http-client

    Async HTTP/1.1+2 client for PHP based on Amp. (by amphp)

    Project mention: Trying to run multiple php scripts at once. | reddit.com/r/PHP | 2021-07-09

    More specifically, you're probably looking for https://github.com/amphp/http-client.

  • laravel-stripe-webhooks

    Handle Stripe webhooks in a Laravel application

    Project mention: How do I automatically update a payment from pending to accepted? | reddit.com/r/laravel | 2021-11-06

    If you are using Laravel and Stripe you can take a look at spatie stripe webhook package that simplifies a lot of boilerplate code.

  • 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

    Project mention: Best Way to Check Status Code of Each URL in a Sitemap | reddit.com/r/learnprogramming | 2022-01-07

    I want to avoid DOSing myself, so I am wondering what might be the best way to go about this? I was suggested to use a PHP library called Cigar https://github.com/Brunty/cigar. It seems to do what I want, but when I tried it on the sitemap out on my local machine and my dev environment, it crashed both. Is there an efficient way to achieve this without overloading the server?

  • Retrofit

    Retrofit implementation in PHP. A REST client for PHP.

  • http-router

    :tada: Release 2.0 is released! Very fast HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations/attributes and OpenAPI (Swagger) Specification

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 2022-05-14.

PHP HTTP related posts

Index

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

Project Stars
1 Guzzle 21,829
2 http-foundation 8,162
3 http-kernel 7,641
4 http-message 6,513
5 web-frameworks 6,322
6 LaravelS 3,571
7 Requests 3,456
8 HTTPlug 2,346
9 Buzz 1,873
10 mix 1,785
11 HTTPFul 1,729
12 http-client 1,505
13 PHP VCR 1,035
14 Nyholm PSR-7 900
15 laravel-webhook-server 626
16 http-client 605
17 laravel-stripe-webhooks 377
18 Laminas Diactoros 303
19 guzzler 276
20 request-migrations 166
21 cigar 155
22 Retrofit 151
23 http-router 148
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com