[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8268":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":15,"starSnapshotCount":15,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},8268,"hyperf","hyperf\u002Fhyperf","🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.","https:\u002F\u002Fwww.hyperf.io",null,"PHP",6849,1297,122,357,0,4,19,1,40.34,"MIT License",false,"master",true,[25,26,27,28,29,30,31,32,5,33,34,35,36,37,38,39,40,41,42,43],"amqp","annotation","aop","attributes","coroutine","dependency-injection","framework","grpc","json-rpc","microservice","microservices","opentracing","php","psr-14","psr-15","psr-7","swoole","swow","websocket","2026-06-12 02:01:51","English | [中文](.\u002FREADME-CN.md)\n\n\u003Cp align=\"center\">\u003Ca href=\"https:\u002F\u002Fhyperf.io\" target=\"_blank\" rel=\"noopener noreferrer\">\u003Cimg width=\"70\" src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fhyperf\u002Fhyperf\u002Fdocs\u002Flogo.png\" alt=\"Hyperf Logo\">\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fhyperf\u002Freleases\">\u003Cimg src=\"https:\u002F\u002Fposer.pugx.org\u002Fhyperf\u002Fhyperf\u002Fv\u002Fstable\" alt=\"Stable Version\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.php.net\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fphp-%3E=8.1-brightgreen.svg?maxAge=2592000\" alt=\"Php Version\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fswoole\u002Fswoole-src\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fswoole-%3E=5.0-brightgreen.svg?maxAge=2592000\" alt=\"Swoole Version\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fhyperf\u002Fblob\u002Fmaster\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fhyperf\u002Fhyperf.svg?maxAge=2592000\" alt=\"Hyperf License\">\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fhyperf\u002Factions\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fhyperf\u002Fworkflows\u002FPHPUnit%20for%20Hyperf\u002Fbadge.svg\" alt=\"PHPUnit for Hyperf\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fhyperf\u002Fframework\">\u003Cimg src=\"https:\u002F\u002Fposer.pugx.org\u002Fhyperf\u002Fframework\u002Fdownloads\" alt=\"Total Downloads\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fhyperf\u002Fframework\">\u003Cimg src=\"https:\u002F\u002Fposer.pugx.org\u002Fhyperf\u002Fframework\u002Fd\u002Fmonthly\" alt=\"Monthly Downloads\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n# Introduction\n\nHyperf is an extremely performant and flexible PHP CLI framework, powered by a state-of-the-art coroutine server and a large number of battle-tested components. Aside from decisively beating PHP-FPM frameworks in benchmarks, Hyperf is unique in its focus on flexibility and composition. Hyperf ships with an AOP-enabling (aspect-oriented programming) dependency injector to ensure components and classes are pluggable and meta-programmable. All of Hyperf's core components strictly follow [PSR](https:\u002F\u002Fwww.php-fig.org\u002Fpsr) standards and can be used in other frameworks.\n\nHyperf's architecture is built using a combination of `Coroutines`, `Dependency injection`, `Events`, `Annotations`, and `AOP`. In addition to providing `MySQL`, `Redis` and other common coroutine clients, `Hyperf` also provides coroutine compatible versions of `WebSocket server \u002F client`, `JSON RPC server \u002F client`, `gRPC server \u002F client`, `Zipkin\u002FJaeger (OpenTracing) client`, `Guzzle HTTP client`, `Elasticsearch client`, `Consul client`, `ETCD client`, `AMQP component`, `Apollo configuration center`, `Aliyun ACM`, `ETCD configuration center`, `Token bucket algorithm-based limiter`, `Universal connection pool`, `Circuit breaker`, `Swagger`, `Snowflake`, `Simply Redis MQ`, `RabbitMQ`, `NSQ`, `Nats`, `Seconds level crontab`, `Custom Processes`, etc. Therefore, developers can entirely avoid implementing coroutine compatible versions of these libraries.\n\nRest assured, Hyperf is still a PHP framework. Hyperf provides all the packages you expect: `Middleware`, `Event Manager`, `Coroutine-optimized Eloquent ORM` (and Model Cache!), `Translation`, `Validation`, `View engine (Blade\u002FSmarty\u002FTwig\u002FPlates\u002FThinkTemplate)` and more.\n\n# Origin\n\nAlthough there are many new PHP frameworks, we still haven't found a framework that matches an elegant design with ultra-high performance, nor have we found a framework that paves the way for PHP microservices. With this vision in mind, we will continue to invest in the future of this framework, and you are welcome to join us in contributing to the open-source development of Hyperf.\n\n# Design Goals\n\n`Hyperspeed + Flexibility = Hyperf`. The equation hidden in our name exhibits Hyperf's founding ambition.  \n\nHyperspeed: Leveraging `Swoole` and `Swow` coroutines, Hyperf is capable of handling massive amounts of traffic. The Hyperf team made many optimizations to the framework to eliminate every bottleneck between the end-user and our blazing engine.   \n\nFlexibility: We believe our Dependency Injection component is best in class. With the help of `Hyperf DI`, components and classes are all pluggable and meta-programmable. Inversely, all Hyperf components are meant to be shared with the world. Our commitment to PSR standards means that you can use Hyperf components in any compatible framework.\n\nVia these traits, Hyperf has discovered the untapped potential in many fields: implementing Web servers, gateway servers, distributed middleware software, microservices architecture, game servers, and Internet-of-Things (IoT).\n\n# Operating environment\n\n- Linux, OS X or Cygwin, WSL, Windows\n- PHP 8.1+\n- Swoole 5.0+ or Swow 1.4+\n\n# Production ready\n\nAlongside our well-maintained, multilingual documentation, a large number of unit tests for each component ensure logical correctness. Before `Hyperf` was released to the public (2019-06-20), it had been privately used by some medium and large Internet companies for multiple services, which have been running without incident for years in harsh production environments.\n\n# Official website and Documentation\n\nOfficial website [https:\u002F\u002Fhyperf.io](https:\u002F\u002Fhyperf.io)   \nDocumentation [https:\u002F\u002Fhyperf.wiki](https:\u002F\u002Fhyperf.wiki)\n\n# Security Vulnerabilities\n\nIf you discover a security vulnerability within Hyperf, please send an e-mail to the Hyperf Team via group@hyperf.io. All security vulnerabilities will be promptly addressed.\n\n# Code Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fhyperf\u002Fgraphs\u002Fcontributors)].\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fhyperf\u002Fgraphs\u002Fcontributors\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhyperf\u002Fcontributors.svg?width=890&button=false\" \u002F>\u003C\u002Fa>\n\n# Financial Contributors\n\nBecome a financial contributor and help us sustain our community. [[Contribute](https:\u002F\u002Fhyperf.wiki\u002F#\u002Fen\u002Fdonate)]\n\nSupport this project with your organization or company. Your logo will show up here with a link to your website. [[Contribute](https:\u002F\u002Fhyperf.wiki\u002F#\u002Fen\u002Fdonate)]\n\n# Performance\n\n### Aliyun 8 cores 16G ram\n\ncommand: `wrk -c 1024 -t 8 http:\u002F\u002F127.0.0.1:9501\u002F`\n```bash\nRunning 10s test @ http:\u002F\u002F127.0.0.1:9501\u002F\n  8 threads and 1024 connections\n  Thread Stats   Avg      Stdev     Max   +\u002F- Stdevs\n    Latency    10.08ms    6.82ms  56.66ms   70.19%\n    Req\u002FSec    13.17k     5.94k   33.06k    84.12%\n  1049478 requests in 10.10s, 190.16MB read\nRequests\u002Fsec: 103921.49\nTransfer\u002Fsec:     18.83MB\n```\n\n# The Hyperf Ecosystem\n\n- 🧬 [Nano](https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fnano) is a zero-config, no skeleton, minimal Hyperf distribution that allows you to quickly build a Hyperf application with just a single PHP file.\n- ⚡️ [GoTask](https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fgotask) is a library to spawns a go process as a Swoole sidecar and establishes a bi-directional IPC to offload heavy-duties to Go. Think of it as a Swoole Taskworker in Go.\n- 🚀 [Jet](https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fjet) is a unification model RPC Client, built-in JSONRPC protocol, available to running in ALL PHP environments, including PHP-FPM and Swoole\u002FHyperf environments. \n- 🧰 [Box](https:\u002F\u002Fgithub.com\u002Fhyperf\u002Fbox) is committed to helping improve the programming experience of Hyperf applications, managing the PHP environment and related dependencies, providing the ability to package Hyperf applications as binary programs, and also providing reverse proxy services for managing and deploying Hyperf applications.\n\n# Stargazers over time\n\n[![Stargazers over time](https:\u002F\u002Fstarchart.cc\u002Fhyperf\u002Fhyperf.svg)](https:\u002F\u002Fstarchart.cc\u002Fhyperf\u002Fhyperf.svg)\n\n# License\n\nThe Hyperf framework is open-source software licensed under the MIT license.\n","Hyperf 是一个专注于高性能和灵活性的协程框架，旨在简化微服务和中间件的构建。其核心功能包括基于协程的服务端、依赖注入容器、事件机制、注解支持以及面向切面编程等特性，并严格遵循 PSR 标准。Hyperf 支持多种常用协议和服务如 gRPC、WebSocket、JSON-RPC 以及 OpenTracing 等，并提供了丰富的组件库来满足不同场景下的需求。适用于需要高并发处理能力且对系统响应速度有较高要求的应用场景，比如即时通讯、在线游戏后端服务或大数据处理等领域。",2,"2026-06-11 03:17:06","top_language"]