1. Go to this page and download the library: Download bitocredit/laravel-gateway 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/ */
bitocredit / laravel-gateway example snippets
use Bitocredit\LaravelGateway\Facades\Api;
$result = Api::createWallet("wallet_id" , "network") // replace wallet_id with your wallet id and set network type
$result = Api::createWallet("wallet_id" , "network") // replace wallet_id with your wallet id and set network type
$result = Api::transactionCheck("transaction_hash"); // replace transaction_hash with your transaction hash
$result = Api::transactionRecovery("transaction_hash"); // replace transaction_hash with your transaction hash
$result = Api::transactionFee();
$result = Api::transactionExample("transaction_hash"); // replace transaction_hash with your transaction hash