#3131st of 45 in Backend and cloud templates

hyperf

Coroutine PHP framework on Swoole or Swow for microservices and web servers

Stars
6.9k
License
MIT
Last commit
Oct 2026
Last release
Aug 2026
Language
PHP
Stars, last 29 weeks+144
21 Apr 2026: 6,772 stars28 Apr 2026: 6,784 stars5 May 2026: 6,788 stars12 May 2026: 6,796 stars19 May 2026: 6,805 stars26 May 2026: 6,809 stars2 Jun 2026: 6,812 stars9 Jun 2026: 6,816 stars16 Jun 2026: 6,821 stars23 Jun 2026: 6,827 stars30 Jun 2026: 6,834 stars7 Jul 2026: 6,841 stars14 Jul 2026: 6,842 stars21 Jul 2026: 6,846 stars28 Jul 2026: 6,849 stars4 Aug 2026: 6,853 stars11 Aug 2026: 6,856 stars18 Aug 2026: 6,861 stars25 Aug 2026: 6,867 stars1 Sept 2026: 6,869 stars8 Sept 2026: 6,874 stars15 Sept 2026: 6,880 stars22 Sept 2026: 6,884 stars29 Sept 2026: 6,887 stars6 Oct 2026: 6,890 stars13 Oct 2026: 6,892 stars20 Oct 2026: 6,901 stars27 Oct 2026: 6,908 stars3 Nov 2026: 6,912 stars10 Nov 2026: 6,916 stars

6,772 on 21 Apr 20266,916 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Hyperf is a PHP 8.1+ CLI framework that runs on Swoole 5.0+ or Swow 1.4+ coroutine servers instead of PHP-FPM. It combines dependency injection with AOP, annotations and events, and ships coroutine-compatible clients and servers for MySQL, Redis, gRPC, JSON-RPC, WebSocket, AMQP, Consul and ETCD. Core components follow PSR standards and can be used in other frameworks.

Who it is for: PHP developers building coroutine microservices or high-throughput APIs

Strengths

  • Coroutine servers on Swoole or Swow; README benchmark shows about 103,921 requests/sec on 8 cores
  • Built-in coroutine clients for MySQL, Redis, gRPC, JSON-RPC, RabbitMQ, NSQ, Nats, Consul and ETCD
  • DI container with AOP and annotations makes classes pluggable; components follow PSR standards
  • MIT license with multilingual docs and per-component unit tests

Weaknesses

  • Requires the Swoole or Swow extension, so it does not run under plain PHP-FPM
  • No AI or model-serving features; it is a general-purpose backend framework
  • Runs as a long-lived CLI process, so code must be coroutine-safe
  • Benchmark is a single wrk request to the root URL, not a realistic workload

What it needs

  • PHP
  • Needs PHP 8.1+, Swoole 5.0+ or Swow 1.4+

Quick answers

Is hyperf open source?

Yes. Its code is on GitHub under the MIT license.

Also in Backend and cloud templates

See all 45
Also in Backend and cloud templates
RankProjectScore
1fastapiPython web framework for typed REST APIs with automatic OpenAPI docs104.6k starsMIT90 out of 100
2fiberExpress-style HTTP web framework for Go, built on fasthttp40.3k stars+130 (+0.3%) in 30 daysMIT90 out of 100
3generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends22.5k starsApache-2.090 out of 100
#4serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml46.9k starscustom license88 out of 100
#5echoMinimalist Go web framework with a radix-tree router and middleware32.8k stars+73 (+0.2%) in 30 daysMIT86 out of 100