PHPackages                             jr-smith/laravel-uuid-trait - 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. jr-smith/laravel-uuid-trait

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

jr-smith/laravel-uuid-trait
===========================

:package\_description

18PHP

Since Oct 25Pushed 3y agoCompare

[ Source](https://github.com/jr-smith/laravel-uuid-trait)[ Packagist](https://packagist.org/packages/jr-smith/laravel-uuid-trait)[ RSS](/packages/jr-smith-laravel-uuid-trait/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Uuid Trait
==================

[](#laravel-uuid-trait)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5f26f29e3835d3e04dfb3e6992e46b5430e5084e3f511c8585677c49a7b93a14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3a76656e646f725f736c75672f3a7061636b6167655f736c75672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor_slug/:package_slug)[![GitHub Tests Action Status](https://camo.githubusercontent.com/48768a6d8d6471857870b20d11735c44f8cfe7025077c8c3f645f8e757a7c213/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f3a76656e646f725f736c75672f3a7061636b6167655f736c75672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/44e653dfc6377c15f41f5275a62c6e8759eb58daca74aafed8498f127387d73a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f3a76656e646f725f736c75672f3a7061636b6167655f736c75672f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/:vendor_slug/:package_slug/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/eecef849b077e1fd177407f7332e114b97c07a007ef6f271940339001b727e66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f3a76656e646f725f736c75672f3a7061636b6167655f736c75672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/:vendor_slug/:package_slug)

---

Allows one to use a UUID for the primary key. Simply use the trait in your Laravel eloquent model.

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

[](#installation)

You can install the package via composer:

```
composer require jr-smith/laravel-uuid-trait
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 63.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b6616c33a10aa21dbbeb64eaebc960c55f50ae6b498c76aa63014d479b25b44?d=identicon)[jr-smith](/maintainers/jr-smith)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (315 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (13 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (5 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (4 commits)")[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![medilies](https://avatars.githubusercontent.com/u/35309918?v=4)](https://github.com/medilies "medilies (3 commits)")[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (3 commits)")[![willemvb](https://avatars.githubusercontent.com/u/1336390?v=4)](https://github.com/willemvb "willemvb (3 commits)")

### Embed Badge

![Health badge](/badges/jr-smith-laravel-uuid-trait/health.svg)

```
[![Health](https://phpackages.com/badges/jr-smith-laravel-uuid-trait/health.svg)](https://phpackages.com/packages/jr-smith-laravel-uuid-trait)
```

PHPackages © 2026

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