kentczhy/swsocket

easy to set up websocket by swoole

Maintainers

Package info

github.com/kentczhy/swsocket

pkg:composer/kentczhy/swsocket

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.3 2020-06-08 10:17 UTC

This package is auto-updated.

Last update: 2026-03-08 23:53:32 UTC


README

This library provides a way of easy to set up websocket.

Installation

The suggested installation method is via composer:

composer require "kentczhy/swsocket"

Usage

PHP extension Swoole > 4.2.0 needs to be installed

config/app.php

\Kentczhy\Swsocket\Providers\SwsocketServiceProvider::class

# add config swsocket.php and copy html test file

php artisan vendor:publish
 
# start server

php artisan swoole:server