PHPackages                             abe/unique-id-for-laravel - 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. abe/unique-id-for-laravel

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

abe/unique-id-for-laravel
=========================

A simple package to generate unique id for laravel

0.4.2(3y ago)04.8k↑33.3%[2 PRs](https://github.com/abrahamgreyson/unique-id-for-laravel/pulls)MITPHPPHP ^8.0

Since Sep 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/abrahamgreyson/unique-id-for-laravel)[ Packagist](https://packagist.org/packages/abe/unique-id-for-laravel)[ Docs](https://github.com/abrahamgreyson/unique-id-for-laravel)[ RSS](/packages/abe-unique-id-for-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (11)Used By (0)

WIP , not production ready, do not use.
=======================================

[](#wip---not-production-ready-do-not-use)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e751a8a606f0094bfe21868cc5a569f0ee255bbdfead8df721ce9a088fe03c70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6162652f737472696e672d6b65792d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abe/string-key-for-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ed81c354dd69bebfd12165a39f109c9b0760e185fe6c76f3cb5b0a4003ce81b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6162652f737472696e672d6b65792d666f722d6c61726176656c2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/abe/string-key-for-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/93eec6b0621441df04847ffe782d4129f1a1169a26e1de81e4131ef906f5bb63/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6162652f737472696e672d6b65792d666f722d6c61726176656c2f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/abe/string-key-for-laravel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/780ba192c2eb7a698fb7ad81cba933829e691344abb4b0b3d9c466bab9be6952/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6162652f737472696e672d6b65792d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abe/string-key-for-laravel)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require abe/unique-id-for-laravel
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="unique-id-for-laravel-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="unique-id-for-laravel-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$stringKeyForLaravel = new Abe\UniqueId();
echo $stringKeyForLaravel->echoPhrase('Hello, StringKeyForLaravel!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/abrahamgreyson/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [abraham greyson](https://github.com/abrahamgreyson)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.4% 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 ~23 days

Recently: every ~39 days

Total

8

Last Release

1180d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1341308?v=4)[刘阳](/maintainers/abrahamgreyson)[@abrahamgreyson](https://github.com/abrahamgreyson)

---

Top Contributors

[![abrahamgreyson](https://avatars.githubusercontent.com/u/1341308?v=4)](https://github.com/abrahamgreyson "abrahamgreyson (55 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")

---

Tags

laraveluuididunique-idsnowflakeprimary key

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/abe-unique-id-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/abe-unique-id-for-laravel/health.svg)](https://phpackages.com/packages/abe-unique-id-for-laravel)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[tehwave/laravel-achievements

Simple, elegant Achievements the Laravel way

7012.8k](/packages/tehwave-laravel-achievements)[hafael/laraflake

Laravel Package based on Twitter Snowflake ID Generator (64 bit ID).

287.9k1](/packages/hafael-laraflake)[identifier/identifier

Common Interfaces and Factories for Identifiers

3226.2k1](/packages/identifier-identifier)

PHPackages © 2026

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