PHPackages                             continuum-digital/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. continuum-digital/uid

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

continuum-digital/uid
=====================

Laravel package to generate unique identifiers

0.0.1(7y ago)01.9kMITPHPPHP ^7.1

Since Aug 23Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ollico/uid-deprecated)[ Packagist](https://packagist.org/packages/continuum-digital/uid)[ RSS](/packages/continuum-digital-uid/feed)WikiDiscussions master Synced 2d ago

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

Continuum Agency Uid
====================

[](#continuum-agency-uid)

Laravel package to create automatic unique nullable identifiers like `u5CVsCnxyXg` for your Eloquent models.

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

[](#installation)

Require this package

```
composer require continuum-digital/uid

```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

Create a new entry in `database.config.php` to configure your uid's:

```
    'uid' => [
        'salt' => '', // Default ''
        'minLength' => '', // Default 0
        'alphabet' => '', // Default 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
    ],

```

You can remove the `salt`, `minLength` or `alphabet` to use default values.

### Database

[](#database)

Add the `$table->uid()` in your Schemas:

```
Schema::create('your_table', function (Blueprint $table) {
    $table->uid();
})

```

### Eloquent

[](#eloquent)

Add the `HasUid` trait to your `Models` to add the capabilities:

- Local scope `$model->uid($uid)`
- Automatic generation of `uid` during the `creating` event

Notes
-----

[](#notes)

This package use [HashIds](https://github.com/ivanakimov/hashids.php) under the hood.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

2869d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a516ae566313128454025a9c387ee27ebd78dd3d2421075443a81acad09fa4c1?d=identicon)[davidianbonner](/maintainers/davidianbonner)

---

Top Contributors

[![joseraul](https://avatars.githubusercontent.com/u/676681?v=4)](https://github.com/joseraul "joseraul (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/continuum-digital-uid/health.svg)

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

###  Alternatives

[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k17](/packages/solspace-craft-freeform)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.2k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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