PHP code example of henrypham / php-cryptocurrency-address-validation

1. Go to this page and download the library: Download henrypham/php-cryptocurrency-address-validation 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/ */

    

henrypham / php-cryptocurrency-address-validation example snippets


use Murich\PhpCryptocurrencyAddressValidation\Validation\BTC as BTCValidator;

$validator = new BTCValidator('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp');
var_dump($validator->validate());