2017 © Pedro Peláez
 

library aerys

A non-blocking HTTP/Websocket server

image

amphp/aerys

A non-blocking HTTP/Websocket server

  • Wednesday, May 16, 2018
  • by amphp
  • Repository
  • 5 Watchers
  • 8 Stars
  • 13,973 Installations
  • PHP
  • 9 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 32 Versions
  • 9 % Grown

The README.md

aerys

Build Status License, (*1)

Aerys is a non-blocking HTTP/1.1 and HTTP/2 application, WebSocket and static file server written in PHP based on Amp., (*2)

Deprecation

This repository is deprecated in favor of amphp/http-server. It still exists to keep the documentation and also Packagist working as before., (*3)

Installation

composer require amphp/aerys

Documentation

Running a Server

php bin/aerys -c demo.php

Simply execute the aerys binary (with PHP 7) to start a server listening on http://localhost/ using the default configuration file (packaged with the repository)., (*4)

Add a -d switch to see some debug output like the routes called etc.:, (*5)

php bin/aerys -d -c demo.php

Config File

Use the -c, --config switches to define the config file:, (*6)

php bin/aerys -c /path/to/my/config.php

Use the -h, --help switches for more instructions., (*7)

Static File Serving

To start a static file server simply pass a root handler as part of your config file., (*8)

return (new Aerys\Host)
    ->expose("*", 1337)
    ->use(Aerys\root(__DIR__ . "/public"));

Security

If you discover any security related issues, please email bobwei9@hotmail.com or me@kelunik.com instead of using the issue tracker., (*9)

License

The MIT License (MIT). Please see LICENSE for more information., (*10)

The Versions

16/05 2018

dev-master

9999999-dev https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

02/01 2018

dev-permessage-deflate

dev-permessage-deflate https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

21/12 2017

dev-wip-response-middleware

dev-wip-response-middleware https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

20/12 2017

0.7.x-dev

0.7.9999999.9999999-dev https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

20/12 2017

v0.7.4

0.7.4.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

20/12 2017

v0.7.3

0.7.3.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

17/11 2017

dev-servertlscontext

dev-servertlscontext https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

14/11 2017

dev-response-abort

dev-response-abort https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

29/10 2017

v0.7.2

0.7.2.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

26/10 2017

v0.7.1

0.7.1.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

16/10 2017

v0.6.1

0.6.1.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

16/10 2017

v0.7.0

0.7.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

18/08 2017

v0.6.0

0.6.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

18/08 2017

v0.6.2

0.6.2.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

18/07 2017

0.5.x-dev

0.5.9999999.9999999-dev https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

13/07 2017

dev-socket

dev-socket https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand
by Aaron Piotrowski

server http async non-blocking websocket amp amphp aerys

26/05 2017
14/05 2017

v0.5.0

0.5.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

27/02 2017

v0.4.7

0.4.7.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

27/02 2017

v0.4.6

0.4.6.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

07/02 2017

v0.4.5

0.4.5.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

24/01 2017

dev-broadcast

dev-broadcast https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

16/01 2017

dev-cpu-affinity

dev-cpu-affinity https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

23/12 2016

v0.4.4

0.4.4.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

21/04 2016

v0.4.3

0.4.3.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

09/04 2016

v0.4.2

0.4.2.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

06/04 2016

v0.4.1

0.4.1.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

01/04 2016

v0.4.0

0.4.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

08/02 2016

v0.3.0

0.3.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

19/01 2016

v0.2.0

0.2.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys

26/11 2015

v0.1.0

0.1.0.0 https://github.com/amphp/aerys

A non-blocking HTTP/Websocket server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bob Weinand

server http async non-blocking websocket amp amphp aerys