Thrift golang client example also available here.
- Run composer install. Tested on PHP 8.0.10 (cli).
- Run
docker compose up -d
- Run
make php-client
- Enjoy
- Run
make go-client
- Run
make thrift-gen
- directory:
./app/lib
relates to this one:https://github.com/apache/thrift/tree/master/lib/php/lib
. If you want to use it inside your project - download it via wget or something. - You can use
makefile
,docker-compose.yml
as some kind of documentation as they are quite self explaining.