Skip to content

pekhota/thrift-php-client-server-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Thrift PHP client-server example

Thrift golang client example also available here.

Getting started

  1. Run composer install. Tested on PHP 8.0.10 (cli).
  2. Run docker compose up -d
  3. Run make php-client
  4. Enjoy

Golang client

  1. Run make go-client

Update thrift files

  1. Run make thrift-gen

Other

  1. 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.
  2. You can use makefile, docker-compose.yml as some kind of documentation as they are quite self explaining.

About

Thrift golang client example also available here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages