PHP code example of zanjir / zanjir-php

1. Go to this page and download the library: Download zanjir/zanjir-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/ */

    

zanjir / zanjir-php example snippets



ir = new Zanjir\Zanjir();
    $params["amount"] = 1;
    $params["address"] = "OwnWalletAddress";
    $params["ticker"] = "ltc_litecoin"; 
    $params["callback"] = "https://MyWebSite.com/callback.php?id=xxxxx";
    $create = $zanjir->create($params);

composer