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.2.7
5 years ago
Version 4.2.7 change log


+ `Server` adds `task_async` config item, supports switching between pure sync mode and async mode, sync mode by default (backward compatibility)
+ Support `gethostbyname` in `Runtime::enableCoroutine`
+ Support `PHP7.3RC5` version
* Fixed low version `GCC` compatibility problem (#2094)
* Fixed ssl timeout bug for `client->recv`
* Fixed `Socks5` proxy not work (#2103)
* Fixed the bug that `connected` property of `Co\Redis` was not updated. (#2104)
* Fixed `taskWait` segment fault (#2098)
* Fixed `Co\Socket` reuse problem
* Fixed a bug in `Process\Pool`
- `Swoole\Serialize` will be forced to close in PHP73 (unsupported temporarily)

requires:

  • php >=7.0.0
  • pearinstaller >=1.4.0