zanjir/zanjir-php

v1.0.0 2021-12-09 15:37 UTC

This package is not auto-updated.

Last update: 2023-02-03 19:20:24 UTC


README

Official PHP library of Zanjir

Requirements:

PHP >= 5.6
ext-curl

Install

composer require zanjir/zanjir-php

Create Payment

<?php
require 'vendor/autoload.php'; // #Or require 'Zanjir/Zanjir.php';
$zanjir = 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);