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

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

    

sonofliberty / php-cryptocurrency-address-validation example snippets


use Merkeleon\PhpCryptocurrencyAddressValidation\Validation;

$validator = Validation::make('BTC');
var_dump($validator->validate('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp'));