PHPackages                             roadrunner-php/roadrunner-api-dto - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. roadrunner-php/roadrunner-api-dto

ActiveLibrary[API Development](/categories/api)

roadrunner-php/roadrunner-api-dto
=================================

RoadRunner PHP API

v1.14.1(2mo ago)85.9M—9.5%4[2 PRs](https://github.com/roadrunner-php/roadrunner-api-dto/pulls)8MITPHPPHP ^8.1

Since Apr 7Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/roadrunner-php/roadrunner-api-dto)[ Packagist](https://packagist.org/packages/roadrunner-php/roadrunner-api-dto)[ Docs](https://roadrunner.dev)[ GitHub Sponsors](https://github.com/sponsors/roadrunner-server)[ RSS](/packages/roadrunner-php-roadrunner-api-dto/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (8)

[   ![](https://github.com/roadrunner-server/.github/assets/8040338/040fb694-1dd3-4865-9d29-8e0748c2c8b8) ](https://roadrunner.dev)RoadRunner PHP API DTO
======================

[](#roadrunner-php-api-dto)

[![PHP Version Require](https://camo.githubusercontent.com/25926b0eae9a83aebefcc8827a831bda087a4c4720f2d0cc352f89afff4e41ba/68747470733a2f2f706f7365722e707567782e6f72672f726f616472756e6e65722d7068702f726f616472756e6e65722d6170692d64746f2f726571756972652f706870)](https://packagist.org/packages/roadrunner-php/roadrunner-api-dto)[![Latest Stable Version](https://camo.githubusercontent.com/72ac766965dd88f93e91756cb02d297592e7b6c07e4a754abf63f3449eb63b02/68747470733a2f2f706f7365722e707567782e6f72672f726f616472756e6e65722d7068702f726f616472756e6e65722d6170692d64746f2f762f737461626c65)](https://packagist.org/packages/roadrunner-php/roadrunner-api-dto)[![Total Downloads](https://camo.githubusercontent.com/1689898ee228dfd86173f9aa0897a696cbf3738754e4fd85b9505d25f0d74222/68747470733a2f2f706f7365722e707567782e6f72672f726f616472756e6e65722d7068702f726f616472756e6e65722d6170692d64746f2f646f776e6c6f616473)](https://packagist.org/packages/roadrunner-php/roadrunner-api-dto)

This is a GitHub repository and Composer package that provides PHP Data Transfer Object (DTO) messages for RoadRunner API protocol buffer files, available at .

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
------------

[](#installation)

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

```
composer require roadrunner-php/roadrunner-api-dto
```

Generating DTOs
---------------

[](#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](https://github.com/grpc/grpc/blob/master/src/php/README.md#grpc_php_plugin-protoc-plugin) to build the file.

Then run:

```
./generate.sh
```

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

Contribution
------------

[](#contribution)

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

License
-------

[](#license)

This repository is licensed under the MIT license. See [LICENSE](./LICENSE) for more information.

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity52

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~66 days

Recently: every ~74 days

Total

17

Last Release

79d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/773481?v=4)[Pavel Buchnev](/maintainers/butschster)[@butschster](https://github.com/butschster)

![](https://www.gravatar.com/avatar/110fa17dca123e71e4ef4132d1d6a66d20058a07fc6118e716dd67dd4316e886?d=identicon)[roxblnfk](/maintainers/roxblnfk)

---

Top Contributors

[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (24 commits)")[![msmakouz](https://avatars.githubusercontent.com/u/67324318?v=4)](https://github.com/msmakouz "msmakouz (19 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (8 commits)")[![rustatian](https://avatars.githubusercontent.com/u/8040338?v=4)](https://github.com/rustatian "rustatian (1 commits)")[![terabytesoftw](https://avatars.githubusercontent.com/u/42547589?v=4)](https://github.com/terabytesoftw "terabytesoftw (1 commits)")

---

Tags

phpprotoprotobufroadrunner

### Embed Badge

![Health badge](/badges/roadrunner-php-roadrunner-api-dto/health.svg)

```
[![Health](https://phpackages.com/badges/roadrunner-php-roadrunner-api-dto/health.svg)](https://phpackages.com/packages/roadrunner-php-roadrunner-api-dto)
```

###  Alternatives

[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/grpc-gcp

gRPC GCP library for channel management

18497.8M3](/packages/google-grpc-gcp)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[googleads/google-ads-php

Google Ads API client for PHP

3497.6M9](/packages/googleads-google-ads-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[agence104/livekit-server-sdk

Server-side SDK for LiveKit.

79189.9k1](/packages/agence104-livekit-server-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
