https://github.com/andyexeter/ratchet-http-server
https://github.com/andyexeter/ratchet-http-server
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/andyexeter/ratchet-http-server
- Owner: andyexeter
- Created: 2016-07-31T15:34:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-12T11:50:00.000Z (over 9 years ago)
- Last Synced: 2025-02-07T17:18:04.965Z (over 1 year ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ratchet HTTP Server
A proof of concept web server made using [Ratchet](http://socketo.me/).
Ratchet was designed primarily to deal with WebSockets but contains an HTTP Server component. Using this
component I present a proof of concept web server which will accept requests, return an appropriate
response and then close the connection.
Usage
------
- Clone the repository:
`git clone https://github.com/andyexeter/ratchet-http-server`
- Install required dependencies: `composer install`
- Run the server: `php bin/server.php`
- View the home page in your browser: (This link will only work if you're using the default configuration in `app/config.php`)
License
--------
[GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)