Simple React PHP HTTP Server: Pure PHP HTTP server using ReactPHP library

Recommend this page to a friend!
  Info   View files Example   View files View files (24)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-02-09 (11 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
reactphp-simple-http 1.0.0Shareware5HTTP, PHP 5, Social Networking
Description Author

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.

Picture of Ahmad Mustapha
Name: Ahmad Mustapha <contact>
Classes: 10 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 4x

Details

_Simple ReactPHP Http Server_

A simple http server written with pure PHP and with the help of ReactPHP.

<ol> <li><a href="#Installation">Installation</a></li> </ol>

Installation

Make sure that you have composer installed

Clone repository

gti clone https://github.com/Ahmard/reactphp-simple-http-server

Navigate to the directory

cd reactphp-simple-http-server

Install composer dependencies

composer install

Start server

php server.php

Visit http://localhost:8181 and see.

  Files folder image Files  
File Role Description
Files folder imageapp (2 files, 2 directories)
Files folder imagepublic (2 directories)
Files folder imageview (2 files, 2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file nodemon.json Data Auxiliary data
Accessible without login Plain text file phpstan.neon Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file routes.php Conf. Routes script
Accessible without login Plain text file server.php Example Example script

 Version Control Unique User Downloads  
 100%
Total:0
This week:0

For more information send a message to info at phpclasses dot org.