# amphp/websocket

AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind. `amphp/websocket` contains basic websocket components shared by our [Websocket Server](https://github.com/amphp/websocket-server) and [Websocket Client](https://github.com/amphp/websocket-client) packages.

## Installation

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

```
composer require amphp/websocket
```

## Requirements

* PHP 8.1+

## Versioning

`amphp/websocket` follows the [semver](http://semver.org/) semantic versioning specification like all other `amphp` packages.

## Security

If you discover any security related issues, please use the private security issue reporter instead of using the public issue tracker.

## License

The MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.
