# pinguo/php-msf

PHP微服务框架即Micro Service Framework For PHP

Repository: https://github.com/pinguo/php-msf
Canonical: https://ross.abutalabs.com/products/php-msf
Language: PHP
License: GPL-2.0
License Family: copyleft
Topics: php, php-msf, swoole, mvc, php-framework, swoole-framework, microservice, microservice-framework
Last push: 2019-01-23T05:26:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3288, "days_push": 2779, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1726, forks 315 (observed 2026-08-28T04:05:28.151604+00:00)

## What it is
php-msf is a coroutine-based PHP microservice framework built on Swoole, developed by the Camera360 server team. It provides a lightweight MVC structure with async/parallel IO, connection pools, and built-in Redis/MySQL proxies to boost single-machine throughput for IO-intensive services.

## Use cases
- build php microservices with coroutines
- high concurrency http server in php
- php rpc server and client framework
- redis and mysql connection pooling in php
- async parallel io for io-intensive php services
- long-running resident-memory php service
- master-slave redis cluster with failover in php

## When to choose
- you need coroutine-based async PHP on Swoole for high-throughput IO-bound services
- you want built-in Redis/MySQL proxies with master-slave support and failover
- you are building microservices in PHP with RPC and resident-memory workers

## When to avoid
- you need Windows support or a fully compatible macOS environment
- you want a framework actively updated for modern Swoole 2.x/4.x or PHP 8
- you need a traditional request-per-execution PHP framework or shared hosting deployment

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, rpc, http-server, caching, concurrency, middleware, routing
- domain: backend, web-development, microservices, developer-tools
- platform: php
- tags: swoole, coroutine, microservice-framework, connection-pool, async-io, mvc, redis-proxy, mysql-proxy, high-concurrency, linux, macos, web-server

## Member repositories
- pinguo/php-msf (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.151604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:32:33.667920+00:00, confidence not recorded.
  - readme: https://github.com/pinguo/php-msf (fetched 2026-08-28T04:05:28.151604+00:00, sha 274d1a77b43f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
