{"id":19665901,"url":"https://github.com/amphp/aerys","last_synced_at":"2025-07-24T13:34:02.105Z","repository":{"id":56947328,"uuid":"124777774","full_name":"amphp/aerys","owner":"amphp","description":"A non-blocking HTTP application, WebSocket and file server for PHP based on Amp.","archived":false,"fork":false,"pushed_at":"2020-08-30T19:24:05.000Z","size":12585,"stargazers_count":57,"open_issues_count":1,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-30T10:12:50.211Z","etag":null,"topics":["aerys","amphp","async","http","php","server"],"latest_commit_sha":null,"homepage":"https://amphp.org/aerys","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-11T16:49:20.000Z","updated_at":"2025-05-12T15:01:13.000Z","dependencies_parsed_at":"2022-08-21T03:10:26.658Z","dependency_job_id":null,"html_url":"https://github.com/amphp/aerys","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/amphp/aerys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Faerys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Faerys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Faerys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Faerys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amphp","download_url":"https://codeload.github.com/amphp/aerys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amphp%2Faerys/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266850874,"owners_count":23995160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aerys","amphp","async","http","php","server"],"created_at":"2024-11-11T16:25:23.887Z","updated_at":"2025-07-24T13:34:02.074Z","avatar_url":"https://github.com/amphp.png","language":"PHP","readme":"# aerys\n\n[![Build Status](https://travis-ci.org/amphp/aerys.svg?branch=master)](https://travis-ci.org/amphp/aerys)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/amphp/aerys/blob/master/LICENSE)\n\nAerys is a non-blocking HTTP/1.1 and HTTP/2 application, WebSocket and static file server written in PHP based on [Amp](https://github.com/amphp/amp).\n\n## Deprecation\n\nThis repository is deprecated in favor of [`amphp/http-server`](https://github.com/amphp/http-server).\nIt still exists to keep the documentation and also Packagist working as before.\n\n## Installation\n\n```bash\ncomposer require amphp/aerys\n```\n\n## Documentation\n\n- [Official Documentation](http://amphp.org/aerys/)\n- [Getting Started with Aerys](http://blog.kelunik.com/2015/10/21/getting-started-with-aerys.html)\n- [Getting Started with Aerys WebSockets](http://blog.kelunik.com/2015/10/20/getting-started-with-aerys-websockets.html)\n\n## Running a Server\n\n```bash\nphp bin/aerys -c demo.php\n```\n\nSimply execute the `aerys` binary (with PHP 7) to start a server listening on `http://localhost/` using\nthe default configuration file (packaged with the repository).\n\nAdd a `-d` switch to see some debug output like the routes called etc.:\n\n```bash\nphp bin/aerys -d -c demo.php\n```\n\n## Config File\n\nUse the `-c, --config` switches to define the config file:\n\n```bash\nphp bin/aerys -c /path/to/my/config.php\n```\n\nUse the `-h, --help` switches for more instructions.\n\n## Static File Serving\n\nTo start a static file server simply pass a root handler as part of your config file.\n\n```php\nreturn (new Aerys\\Host)\n    -\u003eexpose(\"*\", 1337)\n    -\u003euse(Aerys\\root(__DIR__ . \"/public\"));\n```\n\n## Security\n\nIf you discover any security related issues, please email `bobwei9@hotmail.com` or `me@kelunik.com` instead of using the issue tracker.\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE](./LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famphp%2Faerys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famphp%2Faerys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famphp%2Faerys/lists"}