PHPackages                             dritter/nix-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. dritter/nix-hasher

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

dritter/nix-hasher
==================

Provide an easy way to generate SRI Hashes and an Implementation of Nix base32 algorithm.

1.0.1(3y ago)07MITPHP

Since Oct 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dritter/nix-hasher)[ Packagist](https://packagist.org/packages/dritter/nix-hasher)[ RSS](/packages/dritter-nix-hasher/feed)WikiDiscussions master Synced today

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

nix-hasher
==========

[](#nix-hasher)

[![](https://github.com/dritter/nix-hasher/actions/workflows/php.yml/badge.svg)](https://github.com/dritter/nix-hasher/actions/workflows/php.yml/badge.svg)

This is a small library to get Nix SRI hashes and provide a port ([go](https://gist.github.com/colemickens/27ad622adfaf8c980f3b5066b21604ba)/[rust](https://github.com/kolloch/nix-base32/blob/master/src/lib.rs) ) of Nix custom base32 algorithm. See [Nix Wiki on Hashes](https://nixos.wiki/wiki/Nix_Hash) for more information.

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

[](#installation)

Can be easily done with composer:

```
composer require dritter/nix-hasher
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~0 days

Total

2

Last Release

1360d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/057125abeaf7e0e5f781d49d57f43fe9c35d5f44d4fc5a36fd3fb3b409b94b84?d=identicon)[dritter](/maintainers/dritter)

---

Top Contributors

[![dritter](https://avatars.githubusercontent.com/u/1544760?v=4)](https://github.com/dritter "dritter (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dritter-nix-hasher/health.svg)

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

PHPackages © 2026

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