PhpDev.App
twirphp/twirp

twirphp/twirp

Stars: 150

Forks: 18

Pull Requests: 100

Issues: 33

Watchers: 6

Last Updated: 2023-09-08 01:53:51

PHP port of Twitch's Twirp RPC framework

License: MIT License

Languages: PHP, Shell, Go, Makefile, Nix

https://twirphp.github.io

TwirPHP logo

TwirPHP

GitHub Workflow Status Twirp Version Go Report Card Composer Package

PHP port of Twitch's Twirp RPC framework

Installation

Download prebuilt binaries for the protoc plugin from the releases page.

Alternatively, you can use the following oneliner to install the plugin:

curl -Ls https://git.io/twirphp | bash -s -- -b path/to/bin

See the documentation for details.

Documentation

See the official documentation.

Development

For an optimal developer experience, it is recommended to install Nix and direnv.

Alternatively, install Go, PHP and Composer on your computer then run make deps to install the rest of the dependencies.

Install dependencies:

go mod download
composer install

If you change something in the protoc plugin, regenerate the examples:

make generate

When all coding and testing is done, please run the test suite:

make check

Security

If you discover any security related issues, please contact us at [email protected].

License

The project is licensed under the MIT License.

The original Twirp library is licensed under the Apache 2.0 License.