Swoole is a production ready async programming framework for PHP

Enable PHP developers to write high-performance, scalable, concurrent TCP, UDP, Unix socket, HTTP, Websocket services in PHP programming language without too much knowledge about non-blocking I/O programming and low-level Linux kernel.

Documentation Community

Get started

Features

Compared with other async programming frameworks or softwares such as Nginx, Tornado, Node.js, Swoole has the built-in async, multiple threads I/O modules. Developers can use sync or async API to write the applications. Swoole PHP network framework enhances the efficiency of R&D team, enable them to focus on the development of innovative products.

Event-driven, asynchronous programming for PHP

Async TCP / UDP / HTTP / Websocket / HTTP2 client/server side API

IPv4 / IPv6 / Unixsocket / TCP/ UDP and SSL / TLS support

Fast serializer / unserializer

High performance, scalable, support C1000K

Milliseconds task scheduler

Open source

Daemonize

Use cases

Mobile API server

Internet of Things

Micro services

Web applications

Gaming servers

Live chat systems