PHPackages                             lsflk/unique-uid - 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. lsflk/unique-uid

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

lsflk/unique-uid
================

Unique User id generator

v1.2.4(5y ago)01.1k1MITPHPPHP ^7.1CI failing

Since May 27Pushed 4y ago2 watchersCompare

[ Source](https://github.com/LSFLK/unique-uid)[ Packagist](https://packagist.org/packages/lsflk/unique-uid)[ Docs](https://github.com/lsflk/unique-uid)[ RSS](/packages/lsflk-unique-uid/feed)WikiDiscussions master Synced 1w ago

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

Unique User id generator
========================

[](#unique--user-id-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dcc24ebfdb55f684992470a4eaf8baa4a3411550da2e7e7b3b4e3af74e14276c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c73666c6b2f756e697175652d7569642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lsflk/unique-uid)[![Build Status](https://camo.githubusercontent.com/3a1f453837450c34d8299fae711961911083827d58acbfda3fcb9c418003c71b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c73666c6b2f756e697175652d7569642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lsflk/unique-uid)[![Quality Score](https://camo.githubusercontent.com/94414089ef1ef5e4a5d32399045f1070245ea7cb51ef03d3c308d14843a527d8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c73666c6b2f756e697175652d7569642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lsflk/unique-uid)[![Total Downloads](https://camo.githubusercontent.com/a0d34d5ad334ed58a92c82e798e3b08afd2998c6310cefa399bb0d92d8aaecdd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c73666c6b2f756e697175652d7569642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lsflk/unique-uid)

To generate a Unique UID with given charactor set.You can increase the size of the digits. Even thougt I adivce you to test you self before implement this packge.We have tested over continues

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

[](#installation)

You can install the package via composer:

```
composer require lsflk/unique-uid
```

Usage
-----

[](#usage)

```
// Unique Id with 9 digits lenght and splited in to three segments
UniqueUid::getUniqueAlphanumeric(9,3)

// To check a valid ID
UniqueUid::isValidUniqeId('YMG-RYC-XF7');
//this will return a boolen value
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mohamed Nizar](https://github.com/lsflk)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

PHP Package Boilerplate
-----------------------

[](#php-package-boilerplate)

This package was generated using the [PHP Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.6% 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 ~14 days

Recently: every ~26 days

Total

9

Last Release

2069d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8711284?v=4)[Mohamed Nizar](/maintainers/mohamednizar)[@mohamednizar](https://github.com/mohamednizar)

---

Top Contributors

[![mohamednizar](https://avatars.githubusercontent.com/u/8711284?v=4)](https://github.com/mohamednizar "mohamednizar (29 commits)")[![kosalag](https://avatars.githubusercontent.com/u/20633112?v=4)](https://github.com/kosalag "kosalag (3 commits)")

---

Tags

lsflkunique-uid

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lsflk-unique-uid/health.svg)

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

###  Alternatives

[dmore/chrome-mink-driver

Mink driver for controlling chrome without selenium

7514.5M345](/packages/dmore-chrome-mink-driver)[kalessil/production-dependencies-guard

Prevents adding of development packages into require-section (should be require-dev).

851.2M2](/packages/kalessil-production-dependencies-guard)[nikic/include-interceptor

Intercept PHP includes

6967.4k2](/packages/nikic-include-interceptor)[artgris/maintenance-bundle

Symfony Bundle to place your Symfony website in maintenance mode

2697.5k](/packages/artgris-maintenance-bundle)[daveawb/understated

A PHP Finite State Machine for Laravel 5+

302.0k](/packages/daveawb-understated)

PHPackages © 2026

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