merkeleon/php-cryptocurrency-address-validation

There is no license information available for the latest version (v2.0.7) of this package.

Cryptocurrency address validation. Currently supports litecoin and bitcoin.

v2.0.7 2023-12-01 09:52 UTC

README

Easy to use PHP Bitcoin and Litecoin address validator. One day I will add other crypto currencies. Or how about you? :)

Installation

=======

composer require merkeleon/php-cryptocurrency-address-validation

Usage

use Merkeleon\PhpCryptocurrencyAddressValidation\Enums\CurrencyEnum;use Merkeleon\PhpCryptocurrencyAddressValidation\Validator;

$validator = Validator::make(CurrencyEnum::BITCOIN);
var_dump($validator->isValid('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp'));