PHPackages                             yusufkenar/crypto-currency-address-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. yusufkenar/crypto-currency-address-tools

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

yusufkenar/crypto-currency-address-tools
========================================

Crypto Currency Address Converter and Validator

v1.0.0(6y ago)0421MITPHPPHP ^7.0

Since Jul 1Pushed 6y agoCompare

[ Source](https://github.com/yusufkenar/crypto-currency-address-tools)[ Packagist](https://packagist.org/packages/yusufkenar/crypto-currency-address-tools)[ Docs](https://github.com/yusufkenar/crypto-currency-address-tools)[ RSS](/packages/yusufkenar-crypto-currency-address-tools/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Crypto Currency Address Converter And Validation
================================================

[](#crypto-currency-address-converter-and-validation)

### Install:

[](#install)

composer require yusufkenar/crypto-currency-address-tools

### Converter Example of usage:

[](#converter-example-of-usage)

```
use CryptoCurrencyAddressTools\Converter\BCH;

```

```
$new_address = BCH::old2new('1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa');

$old_address = BCH::new2old('bitcoincash:qp3wjpa3tjlj042z2wv7hahsldgwhwy0rq9sywjpyy', false);

```

#### P2PK:

[](#p2pk)

```
 old2new('1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'): 'bitcoincash:qp3wjpa3tjlj042z2wv7hahsldgwhwy0rq9sywjpyy'

 new2old('bitcoincash:qp3wjpa3tjlj042z2wv7hahsldgwhwy0rq9sywjpyy'): '1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'

```

#### P2PKH:

[](#p2pkh)

```
 old2new('12higDjoCCNXSA95xZMWUdPvXNmkAduhWv'): 'bitcoincash:qqf2hrw93r9f64u8mhn7k22knknrcw3r3s0mkt0zxa'

 new2old('bitcoincash:qqf2hrw93r9f64u8mhn7k22knknrcw3r3s0mkt0zxa'): '12higDjoCCNXSA95xZMWUdPvXNmkAduhWv'

```

#### P2SH:

[](#p2sh)

```
 old2new('342ftSRCvFHfCeFFBuz4xwbeqnDw6BGUey'): 'bitcoincash:pqv60krfqv3k3lglrcnwtee6ftgwgaykpccr8hujjz'

 new2old('bitcoincash:pqv60krfqv3k3lglrcnwtee6ftgwgaykpccr8hujjz'): '342ftSRCvFHfCeFFBuz4xwbeqnDw6BGUey'

```

### Validation Example of usage:

[](#validation-example-of-usage)

```
use CryptoCurrencyAddressTools\ValidationFactory;

```

```
$validator = new ValidationFactory();
$currency = $validator->build('BTC', "32TLn1WLcu8LtfvweLzYUYU6ubc2YV9eZs");
if ($currency->validate()) {
    //valid
} else {
    //invalid
}

```

### Supported crypto currencies

[](#supported-crypto-currencies)

- `'BTC'`, Bitcoin
- `'BCH'`, Bitcoin Cash
- `'USDT'`, Usd Tether
- `'LTC'`, Lite Coin
- `'ETH'`, Ethereum
- `'ETC'`, Ethereum Classic
- `'DASH'`, DASH
- `'DOGE'`, Doge Coin
- `'DGB'`, DigiByte
- `'NEO'`, NEO
- `'XRP'`, XRP
- `'ZEC'`, Zcash
- `others` - Loading..

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2508d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3102d4490abe3bcc27e735d2ceeda513fff44227903163be2ba8aeddb0db9645?d=identicon)[yusufkenar](/maintainers/yusufkenar)

---

Tags

phplaravelvalidatorvalidationcurrencyaddresscryptoconverterbtcbch

### Embed Badge

![Health badge](/badges/yusufkenar-crypto-currency-address-tools/health.svg)

```
[![Health](https://phpackages.com/badges/yusufkenar-crypto-currency-address-tools/health.svg)](https://phpackages.com/packages/yusufkenar-crypto-currency-address-tools)
```

###  Alternatives

[kielabokkie/bitcoin-address-validator

Validate legacy, segwit, native segwit (bech32) and taproot Bitcoin addresses

36283.0k](/packages/kielabokkie-bitcoin-address-validator)[stuyam/laravel-phone-validator

A phone validator for Laravel using the free Twilio phone lookup service.

2861.3k](/packages/stuyam-laravel-phone-validator)[yorcreative/laravel-argonaut-dto

Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.

1062.8k1](/packages/yorcreative-laravel-argonaut-dto)[laravel-validation-rules/timezone

Validate that a given timezone is valid.

2119.0k](/packages/laravel-validation-rules-timezone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
