roadrunner-php/roadrunner-api-dto

RoadRunner PHP API

Package info

github.com/roadrunner-php/roadrunner-api-dto

Homepage

Issues

Chat

Forum

Documentation

pkg:composer/roadrunner-php/roadrunner-api-dto

Fund package maintenance!

roadrunner-server

Statistics

Installs: 7 296 817

Dependents: 8

Suggesters: 0

Stars: 8

v1.14.1 2026-02-28 14:55 UTC

Requires

Requires (Dev)

None

Suggests

Provides

None

Conflicts

Replaces

None

MIT a7664d4a4c451631fba7d5504fdf4f94a81a19c3

  • Pavel Butchnev (butschster) <pavel.buchnev.woop@spiralscout.com>
  • Aleksei Gagarin (roxblnfk) <alexey.gagarin.woop@spiralscout.com>
  • RoadRunner Community

This package is auto-updated.

Last update: 2026-05-28 15:28:21 UTC


README

👁 Image

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.