Build high-performance, scalable, concurrent TCP, UDP, Unix Socket, HTTP, WebSocket, GRPC services with PHP and easy to use coroutine, fibers API
Write your next scalable async application with PHP coroutines and fibers.
Compared with other async programming frameworks or software such as Nginx, Tornado, Node.js, Open Swoole is a complete async solution that has built-in support for async programming via fibers/coroutines, a range of multi-threaded I/O modules (HTTP Server, WebSockets, GRPC, TaskWorkers, Process Pools) and support for popular PHP clients like PDO for MySQL, Redis and CURL.
You can use sync or async, coroutine, fiber API to write the applications or create thousands of light weight fibers within one Linux process.
Open Swoole enhances the efficiency of your PHP applications and brings you out of the traditional stateless model, enabling you to focus on the development of innovative products at high scale, bringing event loops and asynchronous programming to the PHP language.
Event-driven, PHP Coroutine, PHP Fiber, Asynchronous API
Async TCP / UDP / HTTP / Websocket / HTTP2 / GRPC Client / Server Side API
IPv4 / IPv6 / UnixSocket / TCP / UDP and SSL / TLS / DTLS
Native PHP Coroutine and PHP Fiber Support
High performance, scalable, support C1000K
Milliseconds task scheduler
Multiprocessing and daemonize
PHP PSR support
GRPC server and clients
Free and Open Source (Apache 2 License)
Join 4,000+ others and never miss out on new tips, tutorials, and more.
Implementing Database Connection Pool and Managing Concurrency with OpenSwoole GRPC
OpenSwoole 22.0.0 released for PHP 8.2 and Psr, GRPC
OpenSwoole 4.12.0 released with PHP 8.2 support and new features
Introducing OpenSwoole 2022 GRPC
Introducing CalVer and SemVer
Open Swoole 4.11.1 released with multiple bug fixes