Skip to content

A simple chat based on Slim and Swoole's websocket server.

Notifications You must be signed in to change notification settings

iamrafaelmelo/simple-swoole-chat

Repository files navigation

Simple Swoole Chat

Requirements

  • PHP >= 8.1
  • Composer
  • Docker
  • Make (optional)

Installation

composer install

Running

With Docker

> docker compose up || docker-compose up
> docker exec -it swoole-chat-server bash -c "composer start"

With Make

> make up
> make server

And access http://localhost:8000 on your browser.