Skip to content

StanJansen/php-cryptocurrency-address-validation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-cryptocurrency-address-validation

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'));

About

Cryptocurrency address validation library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%