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.6
3 years ago
Version 4.5.6 change log


New APIs
---
+ Added swoole_substr_unserialize and swoole_substr_json_decode (#3762) (@matyhtf)

Enhancement
---
+ Modified Coroutine\Http\Server::onAccept to private property (#dfcc83b) (@matyhtf)

Fixed
---
* Fixed coverity issues (#3737) (#3740) (@matyhtf)
* Fixed some bugs on Alpine (#3738) (@matyhtf)
* Fixed swMutex_lockwait (#0fc5665) (@matyhtf)
* Fixed PHP-8.1 build error (#3757) (@twose)

Kernel
---
* Added check_liveness for Socket::read/write/shutdown (#3735) (@matyhtf)
* Changed the type of session_id and task_id to int64 (#3756) (@matyhtf)

requires:

  • php >=7.1.0
  • pearinstaller >=1.4.0