PHPackages                             danrovito/uniquekeygenerator - 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. danrovito/uniquekeygenerator

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

danrovito/uniquekeygenerator
============================

Generates a unique key based on IP or numeric string

0.3.2(9y ago)146MITPHPPHP &gt;=5.3.3

Since May 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/danrovito/uniquekeygenerator)[ Packagist](https://packagist.org/packages/danrovito/uniquekeygenerator)[ RSS](/packages/danrovito-uniquekeygenerator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Unique Key Generator
====================

[](#unique-key-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/6b27068a4755d57e23116cc326ecd76bffe43da91242406577c047d1473fffbf/68747470733a2f2f706f7365722e707567782e6f72672f64616e726f7669746f2f756e697175656b657967656e657261746f722f762f737461626c65)](https://packagist.org/packages/danrovito/uniquekeygenerator) [![Total Downloads](https://camo.githubusercontent.com/995313874221030992dfc1a3e7617cd8ce4f6f23076b628b13df9944c4b87b31/68747470733a2f2f706f7365722e707567782e6f72672f64616e726f7669746f2f756e697175656b657967656e657261746f722f646f776e6c6f616473)](https://packagist.org/packages/danrovito/uniquekeygenerator) [![License](https://camo.githubusercontent.com/5f3e79d49f52d4f535088767a4a971f61efb1630c0d370549ac01b49a9562d50/68747470733a2f2f706f7365722e707567782e6f72672f64616e726f7669746f2f756e697175656b657967656e657261746f722f6c6963656e7365)](https://packagist.org/packages/danrovito/uniquekeygenerator) [![StyleCI](https://camo.githubusercontent.com/3117563451457b41c58ba26308e855dbbfa45ab8674dd53dd6562b4f336c6859/68747470733a2f2f7374796c6563692e696f2f7265706f732f39303735313839392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/90751899)

This package is designed to create a unique key (WGDL2U-HF3DH7-FYP5DT-RVT5T6-P5FFXX) to use as a possible identity or token.

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

[](#installation)

You can install this package via composer using the following command

```
composer require danrovito/uniquekeygenerator

```

Usage
-----

[](#usage)

To use this package you'll need to set the namespace first

```
use GenerateKey\GenerateKey;
```

Then call the class

```
$key = new GenerateKey();
```

From there you can call the `makeKey` function. There are 3 ways to generate a unique key

You can send an empty request

```
$key->makeKey();
```

You can send an IP address

```
$key->makeKey('192.168.1.1');
```

or you can send a numeric string

```
$key->makeKey('12345678');
```

If you send an IP or string, the last section of your key will be the same each time if the value you input is the same.

The generated key will look like this

```
WGDL2U-HF3DH7-FYP5DT-RVT5T6-P5FFXX

```

Disclaimer
----------

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

5

Last Release

3333d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57faf02cb728789f5bb1242a73090ac1e9040ca9c10baf655e3a7e72d555d9ad?d=identicon)[SimpleVerify](/maintainers/SimpleVerify)

---

Top Contributors

[![danrovito](https://avatars.githubusercontent.com/u/8322674?v=4)](https://github.com/danrovito "danrovito (17 commits)")

---

Tags

tokenkeyunique

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/danrovito-uniquekeygenerator/health.svg)

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

###  Alternatives

[atelierdisko/coupon_code

PHP library to generate and validate coupon code strings.

60195.8k2](/packages/atelierdisko-coupon-code)[gladcodes/keygen

A fluent PHP random key generator.

119759.9k2](/packages/gladcodes-keygen)[dirape/token

Unique Token Generator For Laravel

28283.1k2](/packages/dirape-token)[andrewcarteruk/cryptokey

A command line tool for generating keys using a CSPRNG.

6024.2k](/packages/andrewcarteruk-cryptokey)[infocyph/uid

UUID (RFC 9562), ULID, Snowflake ID, Sonyflake ID, and TBSL generator for PHP.

115.7k](/packages/infocyph-uid)[grazulex/laravel-sharelink

Generate, manage, and secure temporary share links for files, routes, and model previews.

1261.1k](/packages/grazulex-laravel-sharelink)

PHPackages © 2026

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