Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wyrihaximus/reactphp-reactjs-hostname-analyzer-example
https://github.com/wyrihaximus/reactphp-reactjs-hostname-analyzer-example
hacktoberfest php reactphp
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wyrihaximus/reactphp-reactjs-hostname-analyzer-example
- Owner: WyriHaximus
- Created: 2015-05-19T17:24:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T05:20:52.000Z (about 1 year ago)
- Last Synced: 2024-05-02T05:37:58.216Z (8 months ago)
- Topics: hacktoberfest, php, reactphp
- Language: PHP
- Size: 64.5 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is this?
This project is a demo to show how php can handle stuff asynchronously using the react event loop.
# How to use
Before you start you should install the eio extension if you do not already have it. This can be done using pecl:
```
sudo pecl install eio
```Clone the project using git, get into the project directory and run:
```
composer install
```After that you should be able to run:
```
php server.php
```Go to [localhost:1337/index.html](http://localhost:1337/index.html) no webserver like apache/nginx required.