Skip to content
/ twirp Public
forked from twirphp/twirp

PHP port of Twitch's Twirp RPC framework

License

Notifications You must be signed in to change notification settings

ustream/twirp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwirPHP: PHP port of Twitch's Twirp RPC framework

GitHub Workflow Status Twirp Version Go Report Card Composer Package

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 -b path/to/bin

See the documentation for details.

Documentation

See the official documentation.

Development

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

For the best developer experience, install Nix and direnv.

Alternatively, install the following dependencies manually:

  • Go >=1.17
  • PHP 8.x
  • Composer 2.x

Then run make deps to install the remaining dependencies.

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.

About

PHP port of Twitch's Twirp RPC framework

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 68.1%
  • Go 13.1%
  • Shell 12.1%
  • Makefile 5.0%
  • Nix 1.7%