PHPackages                             lingyin/ethereum-address - 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. lingyin/ethereum-address

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

lingyin/ethereum-address
========================

Ethereum address validation

v0.01(8y ago)315PHPCI failing

Since Jan 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/actors315/ethereum-address)[ Packagist](https://packagist.org/packages/lingyin/ethereum-address)[ RSS](/packages/lingyin-ethereum-address/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

ethereum-address
================

[](#ethereum-address)

较验ETH地址的合法性

参考这个js的方法改写了一个PHP版本

```
https://github.com/cilphex/ethereum-address

```

安装
--

[](#安装)

```
composer require lingyin/ethereum-address

```

使用
--

[](#使用)

```

$checkLogic = new \lingyin\ethereum\address\Address();
$checkLogic->validate('0x122214');
$checkLogic->validate('0xbC2Ae4849E58ead2AE05308945bdD99550d73F8d')

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

3023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/901366a9dd8b8c4dbc9541cba4154174e50c98fea38964e96443980d5465b75c?d=identicon)[actors315](/maintainers/actors315)

---

Top Contributors

[![actors315](https://avatars.githubusercontent.com/u/3014232?v=4)](https://github.com/actors315 "actors315 (12 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lingyin-ethereum-address/health.svg)

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

###  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.2M450](/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)
