- php >= 7.1
- ext-protobuf
- ext-grpc
- Add private key to SSH agent
ssh-add /path/to/client.key
- Run composer install
composer install
- Set environment variable
EKO_API_CLIENT_CERT
with path to your client certificate
export EKO_API_HOST=/path/to/client.pem
- Set environment variable
EKO_API_ADDRESS
with proper eko-api address
export EKO_API_ADDRESS=host.example.com:443
- Run demo application
php demo.php