Production-Grade 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.

Coroutine is officially supported since version 4.1.0, please check Swoole Coroutine.

Get started Documentation Community

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

Get started

Use cases

Mobile API server

Internet of Things

Micro services

Web API or apps

Gaming servers

Live chat systems