PHPackages                             snailweb/php-hasher - 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. snailweb/php-hasher

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

snailweb/php-hasher
===================

A simple PHP Hasher

1.0.2(7y ago)010PHP

Since Mar 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/xavier-rodet/php-hasher)[ Packagist](https://packagist.org/packages/snailweb/php-hasher)[ RSS](/packages/snailweb-php-hasher/feed)WikiDiscussions master Synced 3d ago

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

php-hasher
==========

[](#php-hasher)

A simple PHP Hasher to ensure data validity received from a client.

Usage
-----

[](#usage)

### Instantiation

[](#instantiation)

```
$hasher = new Snailweb\Utils\Hasher('secret key', 'secret prefix', 'secret suffix', 'sha256');
```

### Hash data to send

[](#hash-data-to-send)

```
$hasher->hash('my data');
```

### Check data validity of received data

[](#check-data-validity-of-received-data)

```
$hasher->checkSum($receivedHash, $receivedData);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Every ~2 days

Total

3

Last Release

2626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d517fd68c868e68f4d47de1b46db8046495d44cee43e79fc9635e35218ae5657?d=identicon)[xavier-rodet](/maintainers/xavier-rodet)

---

Top Contributors

[![xavier-rodet](https://avatars.githubusercontent.com/u/2737842?v=4)](https://github.com/xavier-rodet "xavier-rodet (9 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/snailweb-php-hasher/health.svg)

```
[![Health](https://phpackages.com/badges/snailweb-php-hasher/health.svg)](https://phpackages.com/packages/snailweb-php-hasher)
```

PHPackages © 2026

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