# hprose/hprose-php

Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP

Repository: https://github.com/hprose/hprose-php
Canonical: https://ross.abutalabs.com/products/hprose-php
Language: PHP
License: MIT
License Family: permissive
Topics: rpc, rpc-library, rpc-framework, rpc-server, rpc-service, rpc-client, cross-platform, cross-language, cross-domain, cross-device, php, php7, php-library, hprose, composer, packagist, serialization, serializer, serialization-library, serialize
Last push: 2024-02-06T02:36:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4584, "days_push": 940, "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 1981, forks 381 (observed 2026-08-28T04:06:01.759695+00:00)

## What it is
Hprose for PHP is a lightweight, high-performance, cross-language RPC (Remote Procedure Call) library. It lets PHP services and clients interoperate with applications written in many other languages over a simple serialized protocol.

## Use cases
- call PHP functions remotely from another language
- build a cross-language RPC server in PHP
- serialize PHP objects for network transport
- connect PHP microservices to services in Go, Java, or Python
- expose PHP backend methods to JavaScript clients
- implement distributed application communication in PHP

## When to choose
- you need RPC between PHP and other languages with a shared protocol
- you want a lightweight alternative to SOAP/gRPC with minimal setup
- you need efficient binary serialization for PHP data

## When to avoid
- you need gRPC or REST ecosystem tooling and standards
- your team only works in PHP and native PHP APIs suffice
- you need first-class HTTP/JSON APIs for public consumption

## Facets
- artifact type: library
- maturity: maintenance
- function: rpc, serialization, middleware
- domain: microservices, apis, backend, web-development
- platform: php, cross-platform, cli
- tags: cross-language, remote-procedure-call, composer, communication-middleware, microservices, web-server

## Member repositories
- hprose/hprose-php (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.759695+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:03:58.183475+00:00, confidence not recorded.
  - readme: https://github.com/hprose/hprose-php (fetched 2026-08-28T04:06:01.759695+00:00, sha cf2b1c5f5886)
- Data as of 2026-08-30T08:39:29.467469+00:00.
