1. Go to this page and download the library: Download rootchips/multichain 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/ */
rootchips / multichain example snippets
use Chips\Multichain\Client;
$blockchain = new Client(
sprintf(
'https://%s:%s', '127.0.0.1', '4258' // Blockchain host and port
),
'multichainrpc', // Blockchain username
'das858929had88yhfbw37ryw8yh3heyuhebhj', // Blockchain password
3
);