Author: Manuel Lemos
Package: Simple React PHP HTTP Server
This allows applications to make more efficient use of the server machine CPUs, by executing tasks in parallel, while other tasks are waiting for a response from an external process or system, like for instance, a database server that takes time to a execute a query.
This package takes advantage of the ReactPHP library asynchronous programming features to implement an efficient custom HTTP server totally written in PHP.
The package allows developers to create Web applications just by creating handler functions or controller classes that process the requests for specific URLs and return the responses.
This way, PHP developers can write pure PHP Web applications without needing to use external Web server applications.
About the Simple React PHP HTTP Server Package
The package Simple React PHP HTTP Server is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Pure PHP HTTP server using ReactPHP library
Here follows in more detail what it does:
This package implements a pure PHP HTTP server using ReactPHP library.
It can start listening to HTTP requests on a given IP address and port number and processes the request by calling code that generates the HTTP responses.
Applications may register listener functions or controller classes to handle specific types of events like errors, requests sent to given URL path patterns, or form submission handling.
Conclusion
The Simple React PHP HTTP Server can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,611,091 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.