Apache Dubbo PHP Framework

Clone this repo:


  1. 45b1c22 Merge pull request #22 from crazyxman/dev by Huxing Zhang · 4 months ago master
  2. 9f5b5eb update by wangjinxi · 5 months ago
  3. 56045c0 add Automatic identification of parameter types by wangjinxi · 5 months ago
  4. 4f59f46 update by wangjinxi · 5 months ago
  5. c418f0b update by wangjinxi · 5 months ago

php framework for apache dubbo

php-for-apache-dubbo is a RPC communication framework for PHP language. It is fully compatible with Dubbo protocol, and can be used as provider terminal and consumer terminal simultaneously. Using zookeeper for service registration discovery, and using fastjson for Serialization.



  • php provider runs in multiple processes. The worker process is used to process specific business, the manager process controls the lifecycle of the worker process, and the master process processes the network IO.
  • Agent monitors the change of provider address information in registry and synchronizes them to local redis for all php consumers on the machine to share.
  • php consumer、redis and agent are deployed on all consumer machines and communicate with each other on unix socket.
  • provider_admin is deployed on all provider machines to control the lifecycle of all php providers on that machine.

Quick start (Chinese) Installation guide (Chinese) Configuration guide (Chinese)