An open API service indexing awesome lists of open source software.

https://github.com/ahmard/reactphp-simple-http-server

A simple http server written with pure PHP and with the help of ReactPHP(https://reactphp.org).
https://github.com/ahmard/reactphp-simple-http-server

php reactphp reactphp-http reactphp-server

Last synced: 6 months ago
JSON representation

A simple http server written with pure PHP and with the help of ReactPHP(https://reactphp.org).

Awesome Lists containing this project

README

          

# **_Simple ReactPHP Http Server_**
A simple http server written with pure PHP and with the help of [ReactPHP](https://reactphp.org).


  1. Installation

## Installation
Make sure that you have [composer](https://getcomposer.org) installed

Clone repository
```bash
gti clone https://github.com/Ahmard/reactphp-simple-http-server
```

Navigate to the directory
```bash
cd reactphp-simple-http-server
```

Install composer dependencies
```bash
composer install
```

Start server
```bash
php server.php
```

Visit [http://localhost:8181](http://localhost:8181) and see.