PHPackages                             d3vy/unique-hash - 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. d3vy/unique-hash

Abandoned → [sbolch/unique-hash](/?search=sbolch%2Funique-hash)ArchivedPackage[Utility &amp; Helpers](/categories/utility)

d3vy/unique-hash
================

Generates a random unique hash.

v2.0(6y ago)156MITPHPPHP &gt;=5.3

Since May 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/d3vy/unique-hash)[ Packagist](https://packagist.org/packages/d3vy/unique-hash)[ Docs](https://github.com/d3vy/UniqueHash)[ Fund](https://paypal.me/pools/c/8miGjy3Bcm)[ Fund](https://ko-fi.com/5hadow)[ RSS](/packages/d3vy-unique-hash/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (5)DependenciesVersions (4)Used By (0)

UniqueHash
==========

[](#uniquehash)

> Generates a random unique hash.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require sbolch/unique-hash
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Usage
-----

[](#usage)

```
$hash = \sbolch\UniqueHash\HashGenerator::get();      // random hash with length of 32 characters
$hash = \sbolch\UniqueHash\HashGenerator::get(12);	// random hash with length of 12 characters
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance56

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

2524d ago

Major Versions

v1.1 → v2.02019-06-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d07773b12732581240d3515028d3b6a17f8074aa2d3c96250cb97e0243394eb?d=identicon)[sbolch](/maintainers/sbolch)

---

Top Contributors

[![sbolch](https://avatars.githubusercontent.com/u/2583090?v=4)](https://github.com/sbolch "sbolch (9 commits)")

---

Tags

hashunique-identifierrandomhashunique

### Embed Badge

![Health badge](/badges/d3vy-unique-hash/health.svg)

```
[![Health](https://phpackages.com/badges/d3vy-unique-hash/health.svg)](https://phpackages.com/packages/d3vy-unique-hash)
```

###  Alternatives

[paragonie/random_compat

PHP 5.x polyfill for random\_bytes() and random\_int() from PHP 7

8.2k655.0M405](/packages/paragonie-random-compat)[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.5k48.6M278](/packages/hashids-hashids)[ircmaxell/random-lib

A Library For Generating Secure Random Numbers

84130.2M119](/packages/ircmaxell-random-lib)[mistic100/randomcolor

Generate attractive random colors

2431.4M6](/packages/mistic100-randomcolor)[pragmarx/random

Create random chars, numbers, strings

714.2M5](/packages/pragmarx-random)[paragonie/random-lib

A Library For Generating Secure Random Numbers

703.3M26](/packages/paragonie-random-lib)

PHPackages © 2026

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