PHP code example of will-bai / mt5-client-sdk-php
1. Go to this page and download the library: Download will-bai/mt5-client-sdk-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
will-bai / mt5-client-sdk-php example snippets
$client = (new MT5Client())->setHost('127.0.0.1')->setPort(9090)->instantiation()->open();
echo $client->Version();
$client->close();