PHPackages                             digitaldonkey/ecverify - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. digitaldonkey/ecverify

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

digitaldonkey/ecverify
======================

A library integrating Ethereum with typed PHP.

1.0(8y ago)14109.2k↑29.4%13[2 issues](https://github.com/digitaldonkey/ecverify/issues)[2 PRs](https://github.com/digitaldonkey/ecverify/pulls)2MITPHPPHP &gt;=7

Since May 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/digitaldonkey/ecverify)[ Packagist](https://packagist.org/packages/digitaldonkey/ecverify)[ RSS](/packages/digitaldonkey-ecverify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (2)

PHP based EC recovery for Ethereum
==================================

[](#php-based-ec-recovery-for-ethereum)

This is the PHP equivalent to **web3.personal.ecRecover**.

```
web3.personal.ecRecover (
   "I want to create a Account on this website. By I signing this text (using Ethereum personal_sign) I agree to the following conditions.",
"0xbbdcdfb9fbe24d460a683633475c77a44072b527a127b159ffaaa043f5dc944105a1671c8b9df95e377d89ec17a1a0ed13f5caa33e5fa80bdf12391bf2e04e4f1c",
(e,f)=>{console.log(e,f)}
)
```

Usage
-----

[](#usage)

```
use Ethereum\EcRecover;

$addrss = '0xbe93f9bacbcffc8ee6663f2647917ed7a20a57bb';
$message = 'hello world';
$signature = '0xce909e8ea6851bc36c007a0072d0524b07a3ff8d4e623aca4c71ca8e57250c4d0a3fc38fa8fbaaa81ead4b9f6bd03356b6f8bf18bccad167d78891636e1d69561b';

// Verify known address
$valid = EcRecover::personalVerifyEcRecover($message,  $signature,  $address);

// Recover unknown address
$recoveredAddress = EcRecover::personalEcRecover($message, $signature);
if ($recoveredAddress === $address) {
  echo 'Jay! it was a long way here. '
}
```

Testing
-------

[](#testing)

```
composer install
vendor/bin/phpunit
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

2922d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/444718?v=4)[Thorsten Krug](/maintainers/digitaldonkey)[@digitaldonkey](https://github.com/digitaldonkey)

---

Top Contributors

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

---

Tags

ecrecoverecverifyethereumpersonal-ecrecoverphpweb3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/digitaldonkey-ecverify/health.svg)

```
[![Health](https://phpackages.com/badges/digitaldonkey-ecverify/health.svg)](https://phpackages.com/packages/digitaldonkey-ecverify)
```

###  Alternatives

[web3p/ethereum-util

A collection of utility functions for Ethereum written in PHP.

30420.2k26](/packages/web3p-ethereum-util)

PHPackages © 2026

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