laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.78k stars 296 forks source link

Why not implement a WebSocket Server? #732

Closed twomiao closed 1 year ago

twomiao commented 1 year ago

Why not implement a WebSocket Server so that PHP can also enable long-connection application development? Such as instant messaging applications, online customer service systems, etc.

OpenSwoole: WebSocket Server Library: https://openswoole.com/docs/modules/swoole-websocket-server

twomiao commented 1 year ago

The laravel framework can develop message push, IM online chat software.****

driesvints commented 1 year ago

I'm not sure tbh, sorry. If you're willing to work on a PR you could send one in for us to look at. Depending on how complicated the PR is we could consider merging it in.

twomiao commented 1 year ago

I'm not sure tbh, sorry. If you're willing to work on a PR you could send one in for us to look at. Depending on how complicated the PR is we could consider merging it in.

It has already been implemented, and I hope that the official will also support it: https://github.com/swooletw/laravel-swoole

killjin commented 1 year ago

https://github.com/laravel/framework/discussions/43468 https://github.com/laravel/octane/compare/2.x...myckhel:octane:ws