PHPackages                             rits-tecnologia/laravel-model-uuid - 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. rits-tecnologia/laravel-model-uuid

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

rits-tecnologia/laravel-model-uuid
==================================

Laravel Model UUID

1.0.0(4y ago)011MITPHP

Since Jan 28Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Model UUID
==================

[](#laravel-model-uuid)

This package provides UUID automatic generation for Laravel Models.

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

[](#installation)

Install this package with composer.

```
composer require rits-tecnologia/laravel-model-uuid
```

Usage
-----

[](#usage)

### Change your migration primary key

[](#change-your-migration-primary-key)

```
// change this
$table->id();

// to this
$table->uuid('id')->primary();
```

### Add trait to your model

[](#add-trait-to-your-model)

```
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    use GeneratesUuid;
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

1566d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f4c583e43b4a9522b43b49d73767f19af398ff1ede4d77846f4d4cc2803a52a?d=identicon)[jucianoaraujo](/maintainers/jucianoaraujo)

---

Top Contributors

[![jucianoaraujo](https://avatars.githubusercontent.com/u/1813184?v=4)](https://github.com/jucianoaraujo "jucianoaraujo (1 commits)")

---

Tags

laravelmodeluuid

### Embed Badge

![Health badge](/badges/rits-tecnologia-laravel-model-uuid/health.svg)

```
[![Health](https://phpackages.com/badges/rits-tecnologia-laravel-model-uuid/health.svg)](https://phpackages.com/packages/rits-tecnologia-laravel-model-uuid)
```

###  Alternatives

[webpatser/laravel-uuid

Laravel integration for webpatser/uuid - High-performance drop-in UUID replacements (15% faster than Ramsey). Provides Str macros, HasUuids trait, facades, and casts. RFC 4122/9562 compliant.

1.8k17.3M129](/packages/webpatser-laravel-uuid)[madewithlove/laravel-nova-uuid-support

Adds uuid and other string identifier support to Laravel Nova

28132.9k](/packages/madewithlove-laravel-nova-uuid-support)[rymanalu/factory-generator

Laravel 5 Model Factory Generator.

178.0k](/packages/rymanalu-factory-generator)

PHPackages © 2026

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