PHPackages                             opencck/server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. opencck/server

ActiveLibrary[HTTP &amp; Networking](/categories/http)

opencck/server
==============

HTTP/WS/SSE non-blocking server based on revolt event loop and amphp-v3

1.1.1(3mo ago)41.3k↓33.3%[3 PRs](https://github.com/opencck/server/pulls)MITPHPCI passing

Since Feb 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/opencck/server)[ Packagist](https://packagist.org/packages/opencck/server)[ RSS](/packages/opencck-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (13)Versions (24)Used By (0)

opencck/server
==============

[](#opencckserver)

This package provides a non-blocking HTTP/1.1 and HTTP/2 application server (with [WebSocket](https://github.com/amphp/websocket-server) and [SSE](https://github.com/amphp/byte-stream)) written in PHP based on [AmpPHP](https://github.com/amphp/amp) v3 and [Revolt Event Loop](https://revolt.run/).

Requirements
------------

[](#requirements)

- PHP 8.1
- php sockets extension

Installation
------------

[](#installation)

This package can be installed as a [Composer](https://getcomposer.org/) dependency.

```
composer require opencck/server
```

Documentation
-------------

[](#documentation)

- [AmPHP Documentation](http://amphp.org/)
- [RevoltPHP Documentation](http://revolt.run/)

[Example server](./index.php)
-----------------------------

[](#example-server)

```
