PHPackages                             litvinjuan/ethereum-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. litvinjuan/ethereum-validator

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

litvinjuan/ethereum-validator
=============================

PHP implementation to validate ethereum addresses

1.0.0(6y ago)11.3k1MITPHPPHP ^7.0CI failing

Since Jan 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/litvinjuan/ethereum-validator)[ Packagist](https://packagist.org/packages/litvinjuan/ethereum-validator)[ Docs](https://github.com/litvinjuan/ethereum-validator)[ RSS](/packages/litvinjuan-ethereum-validator/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Introduction
------------

[](#introduction)

Ethereum Validator provides an easy way to validate a given string is a valid ethereum address.

Installation
------------

[](#installation)

You may install Ethereum Validator via Composer:

```
composer require litvinjuan/ethereum-validator

```

Usage
-----

[](#usage)

Ethereum Validator has a static `isValidAddress` method that receives a string containing the ethereum address and returns `true` if the address is valid, or `false` if it's not:

```
use litvinjuan\EthereumValidator\EthereumValidator;

$address = '0x71C7656EC7ab88b098defB751B7401B5f6d8976F';
if (EthereumValidator::isValidAddress($address)) {
    // Valid Address
}

// Invalid Address
```

Contributing
------------

[](#contributing)

Thank you for considering contributing to Ethereum Validator! Please read the [contributing guidelines](CONTRIBUTING.md) before opening a PR.

\##License

Ethereum Validator is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~8 days

Total

2

Last Release

2300d ago

Major Versions

0.0.1 → 1.0.02020-01-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/caac9d056df003d8d88cb3e8540834ecfc31c90e08c4ccd67a38e869742e45ee?d=identicon)[litvinjuan](/maintainers/litvinjuan)

---

Top Contributors

[![litvinjuan](https://avatars.githubusercontent.com/u/42967171?v=4)](https://github.com/litvinjuan "litvinjuan (5 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/litvinjuan-ethereum-validator/health.svg)

```
[![Health](https://phpackages.com/badges/litvinjuan-ethereum-validator/health.svg)](https://phpackages.com/packages/litvinjuan-ethereum-validator)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54013.2M446](/packages/nette-forms)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)

PHPackages © 2026

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