PHP code example of amashukov / ton-php

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

    

amashukov / ton-php example snippets


use Amashukov\TonCell\Builder;
use Amashukov\TonWallet\WalletV4R2;
use Amashukov\Toncenter\ToncenterClient;
use Amashukov\Toncenter\ToncenterWalletRpc;

// Build cells, derive a wallet, broadcast through toncenter — see each
// sub-package README for the full API.
bash
composer