New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

andregumieri/laravel-uxid

1,268
Install
composer require andregumieri/laravel-uxid
Latest Version:1.0.7
Laravel:10 – 13
Last Updated:Sep 11, 2026
Links: GitHub  ·  Packagist
Maintainer: andregumieri

Laravel UXID

Migrations

UXID

Instead of using $table->id() use $table->uxid() (short for $table->string('id')->primary)

Foreign

    ...
    $table->foreignUxidFor(ModelWithUxid::class)
    ...

Models

use AndreGumieri\LaravelUxid\Database\Eloquent\Concerns\HasUxid;

class User extends Model
{
    use HasUxid;
}

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

665,354,487 9,703
laravel/framework

The Laravel Framework.

625,568,548 34,998
laravel/tinker

Powerful REPL for the Laravel framework.

539,265,140 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

458,029,405 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

424,642,029 4,662

Version History

Version Released Laravel License
1.0.7 ^10|^11|^12|^13
1.0.6 ^10|^11|^12
1.0.5 ^10|^11|^12
1.0.4 ^10|^11
1.0.3 ^10|^11