Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 PHP HTTP Projects
-
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
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
mix
☄️ PHP CLI mode development framework, supports Swoole, WorkerMan, FPM, CLI-Server / PHP 命令行模式开发框架,支持 Swoole、Swow、WorkerMan、FPM、CLI-Server (by mix-php)
-
http-server
An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands. (by amphp)
-
PHP VCR
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
-
http-client
An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses. (by amphp)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Guzzle is a PHP HTTP client library. It’s a simple and effective solution for sending HTTP requests and managing HTTP/1.1 and HTTP/2.0 responses. This versatile tool excels in several areas, allowing developers to build query strings quickly, send POST requests, upload JSON data, and handle other HTTP-related tasks. Moreover, Guzzle facilitates both synchronous and asynchronous request handling, providing flexibility for different scenarios.
There is a package within The PHP League that allows validation of an OpenAPI specification: league/openapi-psr7-validator. This package validates requests and responses to the PSR-7 specification.
As the documentation states, this package only performs the conversion, so we would need a PSR-7 and a PSR-17 implementation to convert the objects to and from PSR-7. We can use the library the documentation recommends, nyholm/psr7, but there are others.
Is there a particular reason you haven't picked an already existing library? There are many that exist and in many different programming languages. I personally use ReactPHP's HTTP library because the applications I build are usually things like Discord bots, and the DiscordPHP API library is built on top of ReactPHP. Choosing a well-known library makes it easier to find other applications that already support it.
PHP HTTP related posts
-
Open Source Projects You Can Lay Your Hand On
-
iHateWebsocket
-
Testing an OpenAPI specification in PHP
-
Do not upgrade to 6.4, it has a known bug
-
Ask HN: What should I do with my leftover bandwidth?
-
What GraphQL client package are you using?
-
Reading bundle configuration inside Symfony Compiler Passes
-
A note from our sponsor - InfluxDB
www.influxdata.com | 3 May 2024
Index
What are some of the best open-source HTTP projects in PHP? This list will help you:
Project | Stars | |
---|---|---|
1 | Guzzle | 22,992 |
2 | http-message | 6,909 |
3 | web-frameworks | 6,900 |
4 | LaravelS | 3,807 |
5 | Requests | 3,559 |
6 | Klein | 2,655 |
7 | HTTPlug | 2,539 |
8 | mix | 1,924 |
9 | Buzz | 1,920 |
10 | http-client | 1,880 |
11 | HTTPFul | 1,733 |
12 | http-server | 1,276 |
13 | PHP VCR | 1,139 |
14 | Nyholm PSR-7 | 1,122 |
15 | laravel-webhook-server | 875 |
16 | http | 720 |
17 | http-client | 694 |
18 | laravel-csp | 675 |
19 | laravel-stripe-webhooks | 476 |
20 | Laminas Diactoros | 438 |
21 | guzzler | 270 |
22 | bootgly | 204 |
23 | request-migrations | 181 |
Sponsored