PHP port of Twitch's Twirp RPC framework
Clone or download
Latest commit 85409da Jun 29, 2018

README.md

Twirp PHP port

CircleCI Twirp Version Go Report Card GolangCI GoDoc Quality Score Composer Package

Work in progress! First estimated preview: end of April

Documentation

See the official documentation.

Example

To use the example and run certain test suites you need to build a Docker image from this directory:

$ docker build -t twirphp .

Tests

The following set of commands runs the complete test suite for the project:

$ docker run --rm -it twirphp go test -v ./protoc-gen-twirp_php/...
$ docker run --rm -it twirphp vendorphp/bin/phpunit -v
$ docker run --rm -it twirphp ./gen.sh
$ docker run --rm -it twirphp vendorphp/bin/phpunit -v --group example
$ docker run --rm -it twirphp clientcompat -client clientcompat/compat.sh

Security

If you discover any security related issues, please contact us at mark.sagikazar+twirphp@gmail.com.

License

The MIT License (MIT). Please see License File for more information.

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