merkeleon/php-cryptocurrency-address-validation

Cryptocurrency address validation. Currently supports litecoin and bitcoin.
379,889 19
Install
composer require merkeleon/php-cryptocurrency-address-validation
Latest Version:v2.0.7
PHP:^8.2
Laravel:7 – 10
Last Updated:Jan 23, 2024
Links: GitHub  ·  Packagist
Maintainer: androzd

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660

Version History

Version Released PHP Laravel License
v2.0.7 ^8.2 >=v7.0.0|>=v10.0.0
v2.0.6 ^8.2 >=v7.0.0|>=v10.0.0
v2.0.5 ^8.2 >=v7.0.0|>=v10.0.0
v2.0.4 ^8.2 >=v7.0.0|>=v10.0.0
v2.0.3 ^8.2 >=v7.0.0|>=v10.0.0