GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - amphp/aerys: A non-blocking HTTP application, WebSocket and file server for PHP based on Amp.

This repository was archived by the owner on May 9, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

1,355 Commits
1,355 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
docs
docs
 
 
etc
etc
 
 
lib
lib
 
 
test-autobahn
test-autobahn
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.php_cs.dist
.php_cs.dist
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
demo.php
demo.php
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

aerys

License

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

Deprecation

This repository is deprecated in favor of amphp/http-server. It still exists to keep Packagist working as before.

Installation

composer require amphp/aerys

Documentation

  • Getting Started with Aerys
  • Getting Started with Aerys WebSockets

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).

Add a -d switch to see some debug output like the routes called etc.:

php bin/aerys -d -c demo.php

Config File

Use the -c, --config switches to define the config file:

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

Use the -h, --help switches for more instructions.

Static File Serving

To start a static file server simply pass a root handler as part of your config file.

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

Security

This repository is no longer maintained. Please upgrade to amphp/http-server instead.

License

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

About

A non-blocking HTTP application, WebSocket and file server for PHP based on Amp.

amphp.org/aerys

Topics

aerysamphpasynchttpphpserver

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

55 stars

Watchers

9 watching

Forks

8 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.