http-server
An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands. (by amphp)
http
Event-driven, streaming HTTP client and server implementation for ReactPHP. (by reactphp)
http-server | http | |
---|---|---|
1 | 2 | |
1,286 | 721 | |
0.8% | 0.1% | |
6.9 | 6.8 | |
about 2 months ago | 12 days ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
http-server
Posts with mentions or reviews of http-server.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-01.
-
Weekly help thread
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.
http
Posts with mentions or reviews of http.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-06.
-
iHateWebsocket
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.
-
Anti-Laravel trends?
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?
What are some alternatives?
When comparing http-server and http you can also consider the following projects:
postgres - Async Postgres client for PHP based on Amp.
http-client - An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.
symfony-cli - The Symfony CLI tool
comet - Modern PHP framework for building blazing fast REST APIs and microservices
ByteStream - A non-blocking stream abstraction for PHP based on Amp.
API Platform - Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
HTTPlug - HTTPlug, the HTTP client abstraction for PHP
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
sdk-java - Temporal Java SDK
Guzzle - Guzzle, an extensible PHP HTTP client