Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿ’Ž A curated list of awesome things related to Swoole.

ํ•™์Šต ๋ฐ ๊ต์œก

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
+1

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

Awesome Swoole Twitter license

A curated list of awesome things related to Swoole.

Swoole Logo

Table of Contents

NOTE: Projects labelled with emoji :globe_with_meridians: have their documentation written in non-English languages. Projects labelled with emoji :jigsaw: are Hyperf components or are built on Hyperf.

AI

AI applications and machine learning libraries.

  • dtyq/magic - An open-source enterprise AI agent platform with agents, workflows, and chat. Its backend is built on Hyperf. :jigsaw:
  • gptlink/gptlink - A self-hosted AI chat website with user management, paid plans, and an admin console, built on Hyperf and Vue. :globe_with_meridians: :jigsaw:
  • Rubix ML - A high-level machine learning and deep learning library for the PHP language, with optional Swoole-based multiprocessing.

Architectural

Libraries related to design patterns, programming approaches and ways to organize code.

Client Packages

Cronjobs

  • hyperf/crontab - The cron component of Hyperf, allowing jobs to run at intervals of seconds. :jigsaw:
  • hyperf/xxl-job-incubator - A job executor for the XXL-JOB distributed task scheduling platform, adapted for Hyperf. :globe_with_meridians: :jigsaw:
  • osgochina/swoole-crontab - A Swoole-based crontab scheduler. It allows jobs to run at intervals of seconds, and is fully compatible with crontab syntax. :globe_with_meridians:

Database

  • hyperf/database - The database component of Hyperf. :jigsaw:
  • kvnZero/hyperf-APIJSON - An implementation of APIJSON, a JSON-based protocol and ORM for building CRUD APIs without writing backend code, built on Hyperf. :globe_with_meridians: :jigsaw:
  • mix/database - A Swoole-based database component, with built-in support for connection pooling. :globe_with_meridians:
  • mix/redis - A Swoole-based Redis component, with built-in support for connection pooling. :globe_with_meridians:
  • mix/redis-subscriber - A Swoole-based Redis subscription component. :globe_with_meridians:
  • open-smf/connection-pool - A common connection pool based on Swoole.
  • simple-swoole/db - The database component of Simps. This component is built on top of the Swoole Library.
  • SMProxy - SMProxy (Swoole MySQL Proxy), A MySQL database connection pool library. :globe_with_meridians:

Debugging and Profiling

  • apache/skywalking-php - The PHP Agent for Apache SkyWalking, which provides native tracing and PHP Health Metrics (PHM) runtime reporting for PHP and Swoole projects.
  • open-telemetry/context-swoole - Async Swoole/OpenSwoole context implementation for OpenTelemetry PHP.
  • swoole/debugger - A remote debugger of Swoole. By adding one line of code, you can debug your application remotely using a rich list of commands. The project has not been updated since 2021. Please use Xdebug instead. :globe_with_meridians:
  • upscale/swoole-blackfire - Blackfire profiler integration for Swoole web server.
  • upscale/swoole-newrelic - New Relic APM and Browser monitoring of Swoole web server.
  • Xdebug - A debugging and profiling tool for PHP. Xdebug 3.1.0+ works with Swoole 5.0.2+ on PHP 8.1+ only. Lower versions of Xdebug don't work with Swoole.

Development Environment

  • Docker
    • adhocore/lemp - A single-container LEMP development stack with PHP 7.4โ€“8.3, nginx, MySQL, PostgreSQL, Swoole, Redis, and other common services.
    • phpswoole/swoole - Official Docker image of Swoole.
  • IDE Helper

Distribution

  • shivammathur/extensions - ๐Ÿป Homebrew tap for PHP extensions.
  • static-php-cli - Build static PHP binary in Linux, with Swoole and other popular extensions included.
  • swoole-cli - A prebuilt executable to run Swoole applications directly. No PHP installation required (just download and use it). Supports Linux, macOS, and Windows.

Frameworks

  • Blink - A high-performance web framework and application server for PHP, with built-in support for running under Swoole.
  • chubbyphp-framework - A minimal, middleware-based microframework using PSR standards, with the goal of achieving the best combination of flexibility and simplicity.
  • fastD - A high-performance PHP API framework built on the Swoole extension. :globe_with_meridians:
  • Fomo - A simple, fast framework for building HTTP applications. The repository was archived by its owner in 2025.
  • Hyperf - A coroutine framework that focuses on hyperspeed and flexibility.
  • Hypervel - A Laravel-style framework with native coroutine support for high performance, built on top of Swoole.
  • imi - A Swoole-based framework, with built-in support for HTTP/1, HTTP/2, WebSocket, TCP, UDP, and MQTT. :globe_with_meridians:
  • LightMVC - A modular, event-driven and Swoole-enabled framework that makes it easy to create PHP applications using any PHP library.
  • lizhichao/one - A simple and efficient framework that works both under PHP-FPM and Swoole.
  • ManaPHP - A full-stack PHP framework that supports both Swoole and PHP-FPM modes.
  • Mix PHP - A single-threaded, coroutine-based framework. :globe_with_meridians:
  • Nano - A Hyperf-based coroutine microframework. :jigsaw:
  • Polyel - A full-stack MVC PHP framework/server built from the ground up based on Swoole.
  • QueryPHP - A modern, high performance PHP progressive coroutine framework. :globe_with_meridians:
  • Resonance - Designed from the ground up to facilitate interoperability and messaging between services in your infrastructure and beyond. The repository was archived by its owner in 2026.
  • Restler - A zero-boilerplate REST API framework for PHP 8+, with built-in support for running under the Swoole or OpenSwoole HTTP server.
  • Semitexa - A modular PHP 8.4 framework running on long-lived Swoole workers, with server-side rendering and deferred blocks streamed over SSE.
  • Siler - A set of general-purpose, high-level abstractions for declarative programming in PHP. The repository was archived by its owner in 2022.
  • Simps - A lightweight PHP coroutine framework.
  • Swoolefy - A lightweight, coroutine-based API application framework built on Swoole. :globe_with_meridians:
  • ThinkCMF - An open-source content management framework built on ThinkPHP, supporting both PHP-FPM and Swoole modes. :globe_with_meridians:
  • Ubiquity - A PHP MVC framework that can run on PHP-FPM or on async servers such as Swoole.
  • Utopia - A PHP MVC based framework with minimal must-have features for professional, simple, advanced and secure web development. The Swoole server adapter ships with Utopia itself.

Framework Integration

To run PHP/PHP-FPM frameworks using Swoole.

  • Drupal
    • The Swoole module for Drupal - Serves a Drupal site with the Swoole or OpenSwoole HTTP server, which boots Drupal once and keeps it in memory between requests. Thanks to daffie.
  • Laminas/Mezzio/Zend Framework
  • Laravel
    • Laravel Octane - A first-party Laravel package that boosts application performance by serving it with long-running application servers such as Swoole. Developed and maintained by the Laravel team.
    • hhxsv5/laravel-s - An out-of-the-box adapter between Laravel/Lumen and Swoole.
    • huang-yi/shadowfax - Runs your Laravel application on Swoole.
    • innerloop-dev/lightspeed - A Pusher-compatible WebSocket server for Laravel on Swoole that serves HTTP and WebSocket traffic on one port. Browsers can send authenticated messages to the application and receive responses over the same connection.
    • scil/laravel-fly - A package to speed up Laravel with Swoole, with preloading, coroutine support, and an online Tinker. The repository was archived by its owner in 2024. Please use Laravel Octane instead.
    • swooletw/laravel-swoole - A high-performance HTTP server to run Laravel/Lumen applications on top of Swoole. The repository was archived by its owner in 2025. Its authors recommend Laravel Octane instead, or Hypervel if you need coroutine support.
    • toxmc/fast-laravel - A Swoole-based high-performance HTTP server to speed up your Laravel applications. The project has not been updated since 2021. Please use Laravel Octane instead. :globe_with_meridians:
  • Phalcon
    • phwoolcon/phwoolcon - Runs Phalcon applications on Swoole. The project has not been updated since 2019.
  • PHP Runtimes - A home for runtimes, where people can easily create a Runtime to run an application with Bref, Swoole or ReactPHP without making any change to the application itself.
  • Slim
    • pachico/Slim-Swoole - A convenient library to run SlimPHP applications with Swoole. The repository was archived by its owner in 2023, and no direct replacement is known.
  • Symfony
    • swoole-bundle/swoole-bundle - Symfony integration with Swoole or OpenSwoole to speed up your applications.
    • symfony/runtime - The Runtime component decouples the bootstrapping logic from any global state to make sure the application can run with runtimes like PHP-FPM, ReactPHP, Swoole, etc. without any changes. For a more generic implementation that works with other frameworks/environments, please check project PHP Runtimes.
  • ThinkPHP
  • WordPress
  • Yii

gRPC

  • hyperf/grpc-client - The gRPC client component of Hyperf. :jigsaw:
  • hyperf/grpc-server - The gRPC server component of Hyperf. :jigsaw:
  • mix/grpc - A gRPC implementation based on Swoole. Protoc code generator, server, client, and more features included. :globe_with_meridians:
  • swoole/grpc - An efficient Swoole-based gRPC client. :globe_with_meridians:

HTTP and WebSocket

Libraries for working with HTTP and WebSocket.

  • hhxsv5/php-sse - A library that implements HTML5 server-sent events (SSE) in PHP.
  • PSR Compliance
  • Saber - A coroutine-based HTTP client. :globe_with_meridians:
  • Utopia WebSocket - A simple and lite abstraction layer around a WebSocket server. This library is aiming to be as simple and easy to learn and use.
  • Yurunsoft/Guzzle-Swoole - Makes the Guzzle library coroutine-friendly in Swoole. It works with many Guzzle-based packages and Swoole-based frameworks. :globe_with_meridians:
  • Yurunsoft/YurunHttp - An easy-to-use HTTP client that works with HTTP/1, HTTP/2, and WebSocket protocols. It also supports chained operations, concurrent processing, and connection pooling. :globe_with_meridians:

Logging

  • hyperf/logger - The logging component of Hyperf. It's based on Monolog, with PSR-3 interface implemented. :jigsaw:
  • mix/monolog - A coroutine-friendly logging library. It's based on Monolog. :globe_with_meridians:

Serverless

SOA Governance

  • hyperf/tracer - The distributed tracing component of Hyperf. The implementation is based on OpenTracing. :jigsaw:
  • mix/tracing-zipkin - A tracing library based on Zipkin and OpenTracing. :globe_with_meridians:
  • TarsPHP - PHP support for the Tars microservice platform, providing the Tars binary protocol, an RPC client, and Swoole-based TCP, HTTP, and timer servers.

Tasks and Queues

  • Archer - A Swoole-based task component, with different runtime modes supported: serial queue, concurrent queue, defer, timer, etc. :globe_with_meridians:
  • hyperf/amqp - The AMQP client of Hyperf. :jigsaw:
  • hyperf/async-queue - The Redis-based asynchronous queue component of Hyperf. :jigsaw:
  • hyperf/task - The task component of Hyperf, providing an easy way to add and dispatch tasks to task workers in Swoole. :jigsaw:
  • kcloze/swoole-jobs - An efficient Swoole-based job queue system. :globe_with_meridians:
  • longlang/phpkafka - A coroutine-based Kafka client.

Testing

  • deminy/counit - Runs time- and I/O-related unit tests (e.g., sleep function calls, database queries, API calls) faster using Swoole.

Third-party SDK

  • yansongda/pay - A payment SDK for Alipay and WeChat Pay, with components to integrate with Hyperf, Laravel, and Yii. :globe_with_meridians:
  • Yurunsoft/PaySDK - A coroutine-friendly payment SDK for Alipay and WeChat Pay. :globe_with_meridians:
  • Yurunsoft/YurunOAuthLogin - An OAuth library that provides built-in support for QQ, WeChat, Weibo, GitHub, Gitee, etc. :globe_with_meridians:

Web Applications

Web-based applications and tools.

  • appwrite/appwrite - An open-source backend platform providing authentication, databases, storage, functions, messaging, and realtime APIs, built on Swoole.
  • HyperfAdmin - An administration panel built with Swoole, Hyperf, and Vue.js. :globe_with_meridians: :jigsaw:
  • MineAdmin - An administration panel built with Swoole, Hyperf, and Vue 3. :globe_with_meridians: :jigsaw:
  • onchat - A mobile-first instant messaging progressive web application, using Swoole for its WebSocket backend. :globe_with_meridians:
  • wopits - A world of post-its - An app for managing projects online using sticky notes to share and collaborate. It uses Swoole as a WebSocket & Task server. The repository was archived by its owner in 2026.

Miscellaneous

  • crowdstar/exponential-backoff - A library to prevent overloading an unavailable service by doubling the timeout each iteration. It works under both Swoole (in non-blocking mode) and PHP-FPM.
  • Futures and Promises
  • k8s/client - A Kubernetes API client for PHP, with a Swoole-based WebSocket adapter for exec, attach, and port-forwarding.
  • leocavalcante/swoole-mutex - Mutual exclusion abstractions for PHP's Swoole concurrency run-time.
  • mix/sync-invoke - A library to execute synchronous blocking code without blocking the running process in Swoole. :globe_with_meridians:
  • siteone-crawler - A Swoole-based cross-platform website crawler, cloner, and analyzer for SEO, security, accessibility, and performance audits. It runs on Windows, macOS, and Linux, and is also available as a desktop application built with Svelte and Electron.
  • xlswriter - A coroutine-friendly PHP Extension to create and read XLSX files.
  • yurun-crawler - A framework to build high-performance, distributed web crawler. :globe_with_meridians:
  • zhamao-framework - A chatbot system based on an award-winning project in China. :globe_with_meridians:

Resources

Swoole Books

Books about Swoole.

Swoole Videos

Talks and videos about Swoole.

Miscellaneous

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ