Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 520 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 520 Bytes

Ekomobile API PHP demo

Requirements

  • php >= 7.1
  • ext-protobuf
  • ext-grpc

Usage

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