PHPackages                             benbjurstrom/eloquent-postgres-uuids - 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. [Database &amp; ORM](/categories/database)
4. /
5. benbjurstrom/eloquent-postgres-uuids

ActiveLaravel[Database &amp; ORM](/categories/database)

benbjurstrom/eloquent-postgres-uuids
====================================

A laravel eloquent trait facilitating the use of uuids as the primary key in a postgres database

3.2.0(4y ago)34.1k[3 PRs](https://github.com/benbjurstrom/eloquent-postgres-uuids/pulls)1MITPHPPHP ^7.2|^8.0

Since Jun 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/benbjurstrom/eloquent-postgres-uuids)[ Packagist](https://packagist.org/packages/benbjurstrom/eloquent-postgres-uuids)[ RSS](/packages/benbjurstrom-eloquent-postgres-uuids/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (13)Used By (1)

Eloquent Postgres Uuids
=======================

[](#eloquent-postgres-uuids)

[![Build Status](https://camo.githubusercontent.com/d39f10834d15c7b537cc3de32b29b0758d34dc81a95d87a008ad7c6b17634679/68747470733a2f2f7472617669732d63692e6f72672f62656e626a75727374726f6d2f656c6f7175656e742d706f7374677265732d75756964732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/benbjurstrom/eloquent-postgres-uuids)A trait for laravel eloquent facilitating the use of uuids as the primary key in a postgres database

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

[](#installation)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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

Every ~135 days

Recently: every ~212 days

Total

9

Last Release

1795d ago

Major Versions

1.0.0 → 2.0.02018-08-20

2.0.4 → 3.0.02020-04-04

PHP version history (3 changes)1.0.0PHP ^7.0

2.0.2PHP ^7.2

3.2.0PHP ^7.2|^8.0

### Community

Maintainers

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

---

Top Contributors

[![benbjurstrom](https://avatars.githubusercontent.com/u/12499093?v=4)](https://github.com/benbjurstrom "benbjurstrom (9 commits)")

---

Tags

laravelpostgreseloquentuuidprimary key

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/benbjurstrom-eloquent-postgres-uuids/health.svg)

```
[![Health](https://phpackages.com/badges/benbjurstrom-eloquent-postgres-uuids/health.svg)](https://phpackages.com/packages/benbjurstrom-eloquent-postgres-uuids)
```

###  Alternatives

[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[jrsaunders/shard-matrix

A Complete Database Sharding system for MYSQL and/or Postgres. Using Laravels Query Builder easily scale up your application. Configure your whole solution in one Yaml Config file.

271.5k](/packages/jrsaunders-shard-matrix)[giacomomasseron/laravel-models-generator

Generate Laravel models from an existing database

484.2k](/packages/giacomomasseron-laravel-models-generator)

PHPackages © 2026

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