swoole

pecl install swoole

Event-driven asynchronous and concurrent networking engine with high performance for PHP.

Event-driven asynchronous and concurrent networking engine with high performance for PHP.
- event-driven
- coroutine
- asynchronous non-blocking
- multi-thread reactor
- multi-process worker
- multi-protocol
- millisecond timer
- built-in tcp/http/websocket/http2 server
- coroutine tcp/http/websocket client
- coroutine mysql client
- coroutine redis client
- coroutine read/write file system
- coroutine dns lookup
- support IPv4/IPv6/UnixSocket/TCP/UDP
- support SSL/TLS encrypted transmission

Maintainer

  • Tianfeng Han (lead )
  • Twosee (developer )
  • Shen Zhe (developer ) [inactive]
  • Lu Fei (developer )
  • Bruce Dou (developer )
  • Tianfeng Han (lead ) [inactive]
  • Twosee (developer ) [inactive]

Details

Stars: 18239
Issue openned: 105
Downloads: 7300686
5.0.3
1 year ago
Version 5.0.3 change log


- Added --with-nghttp2_dir option, Use the system nghttp2 library
- Added unit character supports for byte length or size related options
- Fixed memory leak Server task/pipemessage/finish event callback
- Added Process\Pool::sendMessage()
- Added support for max-age to Http\Response:cookie() method
- No longer thrown error log when http header conflicts
- No longer thrown error log when the server connection is closed
- Fixed memory leak caused by Server send_yield

requires:

  • php >=8.0.0
  • pearinstaller >=1.4.0