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
4.5.7
3 years ago
Version 4.5.7 change log


New APIs
---
+ Added writeVector, writeVectorAll, readVector, readVectorAll for Coroutine::Socket (#3764) (@huanghantao)

Enhancement
---
+ Added task_worker_num and dispatch_count for server->stats (#3771) (#3806) (@sy-records) (@matyhtf)
+ Added extension dependencies, including json, mysqlnd, sockets (#3789) (@remicollet)
+ Limited the minimum for uid server->bind is INT32_MIN (#3785) (@sy-records)
+ Added compilation option for JSON decoder, Support negative offset (#3809) (@matyhtf)
+ Added CURLOPT_TCP_NODELAY for Curl (swoole/library#65) (@sy-records) (@deminy)

Fixed
---
* Fixed sync client::connect error info (#3784) (@twose)
* Fixed the scandir function hooked (#3793) (@twose)
* Fixed some errors in the barrier (swoole/library#68) (@sy-records)

Kernel
---
* Optimized print-backtrace, using boost.stacktrace (#3788) (@matyhtf)

requires:

  • php >=7.1.0
  • pearinstaller >=1.4.0