PHPackages                             csaaler/wallet-address-validator - 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. csaaler/wallet-address-validator

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

csaaler/wallet-address-validator
================================

Crypto wallet address validator.

03.7kPHP

Since Oct 10Pushed 8mo agoCompare

[ Source](https://github.com/csaaler/wallet-address-validator)[ Packagist](https://packagist.org/packages/csaaler/wallet-address-validator)[ RSS](/packages/csaaler-wallet-address-validator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Wallet Address Validator
------------------------

[](#wallet-address-validator)

Validates crypto wallet addresses.

### Supported Assets

[](#supported-assets)

- BTC: BTC
- ETH: ERC20
- LTC: LTC
- DASH: DASH
- HOT: ERC20
- LINK: ERC20
- DOGE: DOGE
- XRP: XRP
- BAT: ERC20
- XLM: XLM
- BCH: BCH
- MKR: ERC20
- EOS: EOS
- XEM: XEM
- BTG: BTG
- ETC: ERC20
- USDT: OMNI, ERC20, TRC20
- TRX: TRC20
- BTT: TRC20
- ADA: ADA
- XMR: XMR
- ZEC: ZEC

### Usage

[](#usage)

```
$address = \WalletAddressValidator\AddressFactory::create('BTC', 'BTC', '167FQQrBLUmhfMiYSEHaBprp34fphBiLm6');
$address->isValid(); // true

```

```
$address = \WalletAddressValidator\AddressFactory::create('NONE', 'BTC', '167FQQrBLUmhfMiYSEHaBprp34fphBiLm6');
$address->isValid(); // \OutOfBoundsException

```

```
\WalletAddressValidator\Validator::isValid('BTC', 'BTC', '167FQQrBLUmhfMiYSEHaBprp34fphBiLm6'); // true

```

```
\WalletAddressValidator\Validator::isValid('NONE', 'BTC', '167FQQrBLUmhfMiYSEHaBprp34fphBiLm6'); // false

```

```
$address = \WalletAddressValidator\AddressFactory::create('XLM', 'XLM', 'GBBALM76B5OUPOZCMFCNT5PVIFV3WTUYX3VVGC7FMN4ZPQLGCG2C4X3D');
$address->setParams(['memo' => '1034560979']);
$address->isValid(); // true

```

```
\WalletAddressValidator\Validator::isValid(
   'XRP',
   'XRP',
   'ryBANkk28Mj71jRKAkt13U1X9ubztsGWZ',
   ['tag' => '851882565']
); // true

```

```
\WalletAddressValidator\Validator::$networkAliases = [
    'BTC' => [
        'SOMETHING-ELSE' => Network::BTC
    ]
];
Validator::isValid('BTC', 'SOMETHING-ELSE', '1LNkDkf4rtKRozGTpPRbPtYJnY2q5N5bFW'); // true

```

### Tests

[](#tests)

Run `composer test` for unit tests.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance42

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37137570?v=4)[Christian Saaler](/maintainers/csaaler)[@csaaler](https://github.com/csaaler)

---

Top Contributors

[![azizozk](https://avatars.githubusercontent.com/u/1733516?v=4)](https://github.com/azizozk "azizozk (4 commits)")[![csaaler](https://avatars.githubusercontent.com/u/37137570?v=4)](https://github.com/csaaler "csaaler (3 commits)")[![zizazk](https://avatars.githubusercontent.com/u/116919252?v=4)](https://github.com/zizazk "zizazk (1 commits)")

### Embed Badge

![Health badge](/badges/csaaler-wallet-address-validator/health.svg)

```
[![Health](https://phpackages.com/badges/csaaler-wallet-address-validator/health.svg)](https://phpackages.com/packages/csaaler-wallet-address-validator)
```

###  Alternatives

[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

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