roadrunner-php/roadrunner-api-dto 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

roadrunner-php/roadrunner-api-dto

最新稳定版本:v1.14.0

Composer 安装命令:

composer require roadrunner-php/roadrunner-api-dto

包简介

RoadRunner PHP API

README 文档

README

RoadRunner PHP API DTO

PHP Version Require Latest Stable Version Total Downloads

This is a GitHub repository and Composer package that provides PHP Data Transfer Object (DTO) messages for RoadRunner API protocol buffer files, available at https://github.com/roadrunner-server/api.

With this repository, you can use pre-generated DTO messages for the following RoadRunner plugins:

  • Centrifugo
  • HTTP
  • Jobs
  • KV
  • Lock
  • Plugins
  • Service
  • Status
  • WebSockets

The repository contains the pre-generated DTO files, and you can include the package in your PHP project to use them for making RPC calls to the RoadRunner server.

Installation

You can install the package. Simply run the following command:

composer require roadrunner-php/roadrunner-api-dto

Generating DTOs

If you would like to generate the DTOs yourself, you can use the generate.sh script. This script will generate the DTOs for all of the plugins, and place them in the generated/ directory.

But before that, you will need to compile the grpc_php_plugin. Follow this instruction to build the file.

Then run:

./generate.sh

Note: You will need to have the protoc >= 3.15 binary installed on your system.

Contribution

Contributions are welcome! If you would like to contribute to this project, please open an issue or pull request.

License

This repository is licensed under the MIT license. See LICENSE for more information.

统计信息

  • 总下载量: 4.65M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 2
  • 依赖项目数: 8
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04