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).
- Host: GitHub
- URL: https://github.com/ahmard/reactphp-simple-http-server
- Owner: Ahmard
- Created: 2021-01-08T16:53:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-08T17:08:31.000Z (about 5 years ago)
- Last Synced: 2025-06-14T23:02:12.355Z (7 months ago)
- Topics: php, reactphp, reactphp-http, reactphp-server
- Language: PHP
- Homepage:
- Size: 269 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).
## 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.