|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 108 ||All time: 9,562 This week: 145|
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.
|ReactPHP is a popular PHP library that can be used to develop application using asynchronous programming.
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.
_Simple ReactPHP Http Server_
A simple http server written with pure PHP and with the help of ReactPHP.
Make sure that you have composer installed
gti clone https://github.com/Ahmard/reactphp-simple-http-server
Navigate to the directory
Install composer dependencies
Visit http://localhost:8181 and see.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.