[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8332":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},8332,"swoft","swoft-cloud\u002Fswoft","swoft-cloud","🚀 PHP Microservice Full Coroutine Framework","https:\u002F\u002Fswoft.org",null,"PHP",5539,766,220,190,0,64.65,"Apache License 2.0",false,"master",[22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"annotation-framework","annotations","aop","api","coroutine","framework","http-server","microservice","mvc","rpc","spring-cloud","springboot","swoole","tcp-server","websocket-server","2026-06-12 04:00:38","![swoft-logo](https:\u002F\u002Fraw.githubusercontent.com\u002Fswoft-cloud\u002Fswoft\u002Fmaster\u002Fpublic\u002Fimage\u002Fswoft-logo-mdl.png)\n\n[![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fswoft.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fswoft)\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Fswoft-cloud\u002Fswoft.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Fswoft-cloud\u002Fswoft)\n[![Docker Build Status](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fbuild\u002Fswoft\u002Falphp.svg)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fswoft\u002Fswoft\u002F)\n[![Php Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fphp-%3E=7.1-brightgreen.svg?maxAge=2592000)](https:\u002F\u002Fsecure.php.net\u002F)\n[![Swoole Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fswoole-%3E=4.4.1-brightgreen.svg?maxAge=2592000)](https:\u002F\u002Fgithub.com\u002Fswoole\u002Fswoole-src)\n[![Swoft Doc](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-passing-green.svg?maxAge=2592000)](https:\u002F\u002Fwww.swoft.org\u002Fdocs)\n[![Swoft License](https:\u002F\u002Fimg.shields.io\u002Fhexpm\u002Fl\u002Fplug.svg?maxAge=2592000)](https:\u002F\u002Fgithub.com\u002Fswoft-cloud\u002Fswoft\u002Fblob\u002Fmaster\u002FLICENSE)\n[![Gitter](https:\u002F\u002Fimg.shields.io\u002Fgitter\u002Froom\u002Fswoft-cloud\u002Fswoft.svg)](https:\u002F\u002Fgitter.im\u002Fswoft-cloud\u002Fcommunity)\n\n![start-http-server](https:\u002F\u002Fraw.githubusercontent.com\u002Fswoft-cloud\u002Fswoft\u002Fmaster\u002Fpublic\u002Fimage\u002Fstart-http-server.jpg)\n\nPHP microservice coroutine framework\n\n> **[中文说明](README.zh-CN.md)**\n\n## Introduction\n\nSwoft is a PHP microservices coroutine framework based on the Swoole extension. Like Go, Swoft has a built-in coroutine web server and a common coroutine client and is resident in memory, independent of traditional PHP-FPM. There are similar Go language operations, similar to the Spring Cloud framework flexible annotations, powerful global dependency injection container, comprehensive service governance, flexible and powerful AOP, standard PSR specification implementation and so on.\n\nThrough three years of accumulation and direction exploration, Swoft has made Swoft the Spring Cloud in the PHP world, which is the best choice for PHP's high-performance framework and microservices management.\n\n## Feature\n\n- Built-in high performance network server(Http\u002FWebsocket\u002FRPC\u002FTCP)\n- Flexible componentization\n- Flexible annotation function\n- Diversified command terminal(Console)\n- Powerful Aspect Oriented Programming（AOP）\n- Perfect Container management, Dependency Injection (DI)\n- Flexible event mechanism\n- Implementation of HTTP message based on PSR-7\n- Event Manager Based on PSR-14\n- Middleware based on PSR-15\n- Internationalization(i18n) support\n- Simple and efficient parameter validator\n- High performance connection pool(Mysql\u002FRedis\u002FRPC)，Automatic reconnection \n- Database is highly compatible Laravel\n- Cache Redis highly compatible Laravel\n- Efficient task processing\n- Efficient seconds crontab\n- Process pool\n- Flexible exception handling\n- Powerful log system\n- Service registration & discovery\n- Service breaker\n- Service restrictions\n- Service fallback\n- Configuration Center\n- Apollo\n- Consul\n\n## Document\n\n- [中文文档](https:\u002F\u002Fwww.swoft.org\u002Fdocs)\n- [English](http:\u002F\u002Fswoft.io\u002Fdocs)\n\n## Discuss\n\n- Forum https:\u002F\u002Fgithub.com\u002Fswoft-cloud\u002Fforum\u002Fissues\n- Gitter.im https:\u002F\u002Fgitter.im\u002Fswoft-cloud\u002Fcommunity\n- Reddit https:\u002F\u002Fwww.reddit.com\u002Fr\u002Fswoft\u002F\n- QQ Group3: 541038173   \n- QQ Group2: 778656850(full)\n- QQ Group1: 548173319(full)\n\n## Requirement\n\n- [PHP 7.1+](https:\u002F\u002Fgithub.com\u002Fphp\u002Fphp-src\u002Freleases)\n- [Swoole 4.3.4+](https:\u002F\u002Fgithub.com\u002Fswoole\u002Fswoole-src\u002Freleases)\n- [Composer](https:\u002F\u002Fgetcomposer.org\u002F)\n\n## Install\n\n### Composer\n\n```bash\ncomposer create-project swoft\u002Fswoft swoft\n```\n\n## Start\n\n- Http Server\n\n```bash\n[root@swoft swoft]# php bin\u002Fswoft http:start\n```\n\n- WebSocket Server\n\n```bash\n[root@swoft swoft]# php bin\u002Fswoft ws:start\n```\n\n- RPC Server\n\n```bash\n[root@swoft swoft]# php bin\u002Fswoft rpc:start\n```\n\n- TCP Server\n\n```bash\n[root@swoft swoft]# php bin\u002Fswoft tcp:start\n```\n\n- Process Pool\n\n```bash\n[root@swoft swoft]# php bin\u002Fswoft process:start\n```\n\n## Core Components\n\nComponent Name   | Packagist Version\n--------------------|---------------------\nswoft-annotation          |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fannotation.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fannotation)\nswoft-config              |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fconfig.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fconfig)\nswoft-db                  |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fdb.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fdb)\nswoft-framework           |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fframework.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fframework)\nswoft-i18n                |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fi18n.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fi18n)\nswoft-proxy               |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fproxy.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fproxy)\nswoft-rpc-client          |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Frpc-client.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Frpc-client)\nswoft-stdlib              |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fstdlib.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fstdlib)\nswoft-tcp-server          |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Ftcp-server.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Ftcp-server)\nswoft-aop                 |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Faop.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Faop)\nswoft-connection-pool     |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fconnection-pool.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fconnection-pool)\nswoft-error               |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Ferror.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Ferror)\nswoft-http-message        |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fhttp-message.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fhttp-message)\nswoft-log                 |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Flog.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Flog)\nswoft-redis               |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fredis.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fredis)\nswoft-rpc-server          |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Frpc-server.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Frpc-server)\nswoft-task                |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Ftask.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Ftask)\nswoft-validator           |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fvalidator.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fvalidator)\nswoft-bean                |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fbean.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fbean)\nswoft-console             |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fconsole.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fconsole)\nswoft-event               |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fevent.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fevent)\nswoft-http-server         |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fhttp-server.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fhttp-server)\nswoft-process             |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fprocess.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fprocess)\nswoft-rpc                 |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Frpc.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Frpc)\nswoft-server              |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fserver.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fserver)\nswoft-tcp                 |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Ftcp.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Ftcp)\nswoft-websocket-server    |   [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fwebsocket-server.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fwebsocket-server)\n\n## Extension Components\n\nComponent Name   | Packagist Version\n-----------------|---------------------\nswoft-apollo  | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fapollo.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fapollo)\nswoft-breaker | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fbreaker.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fbreaker)\nswoft-crontab | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fcrontab.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fcrontab)\nswoft-consul  | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fconsul.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fconsul)\nswoft-limiter | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Flimiter.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Flimiter)\nswoft-view    | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fview.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fview)\nswoft-whoops  | [![Latest Stable Version](http:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fswoft\u002Fwhoops.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fswoft\u002Fwhoops)\n\n\n## License\n\nSwoft is an open-source software licensed under the [LICENSE](LICENSE)\n","Swoft 是一个基于 Swoole 扩展的 PHP 微服务协程框架。其核心功能包括内置高性能网络服务器（支持 HTTP、WebSocket、RPC 和 TCP），灵活的注解功能，强大的面向切面编程（AOP）能力，以及完善的依赖注入容器管理等。该框架模仿了 Go 语言的操作方式和 Spring Cloud 框架的设计理念，提供了丰富的服务治理特性，如服务注册与发现、断路器机制和服务降级策略等。Swoft 适用于需要构建高性能微服务架构的应用场景，特别是在对系统响应速度和并发处理能力有较高要求的情况下。",2,"2026-06-11 03:17:24","top_language"]