henrypham / php-cryptocurrency-address-validation
Cryptocurrency address validation.
Installs: 1 410
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 49
pkg:composer/henrypham/php-cryptocurrency-address-validation
Requires
- ext-bcmath: *
- ext-gmp: *
Requires (Dev)
- phpunit/phpunit: ^7.3
This package is auto-updated.
Last update: 2025-12-17 18:31:11 UTC
README
Easy to use PHP cryptocurrency address validation lib.
Forked from https://github.com/murich/php-cryptocurrency-address-validation.
Provides address validations for the following cryptocurrencies:
- BTC
- DASH
- DGB
- ETH
- LTC
- ZEC
Added in this fork:
- BCH (Bitcoin Cash)
- NEO
- XRP (Ripple)
Usage
use Murich\PhpCryptocurrencyAddressValidation\Validation\BTC as BTCValidator; $validator = new BTCValidator('1QLbGuc3WGKKKpLs4pBp9H6jiQ2MgPkXRp'); var_dump($validator->validate());