New

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

imcity-tech/laravel-uuid

[fork] The package provides UUID keys functionality for Eloquent models with one single trait.
1,694

Larablocks Analysis

imcity-tech/laravel-uuid works with Laravel 6 to 9 (latest release 0.8.1, Mar 19, 2022), all past end of life (the last on Feb 6, 2024): no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 6 to 9, past end of life since Feb 6, 2024
  • No release in the last 12 months (last: Mar 19, 2022)
  • 7 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Mar 19, 2022.
  • No releases in the last 12 months.
  • First released: Aug 12, 2020.
  • Monthly downloads: 7.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require imcity-tech/laravel-uuid
Latest Version:0.8.1
PHP:^8.0
Laravel:6 – 9
License:MIT
Last Updated:Mar 19, 2022
Links: GitHub  ·  Packagist
Maintainer: ClementN

Laravel UUID

This package is a fork of nevadskiy/laravel-uuid.

Latest Stable Version Tests Code Coverage License

The package provides UUID keys functionality for Eloquent models with one single trait.

More about using UUID as primary keys.

Usage

Add a trait to your model, and it will automatically set the UUID during model creation.

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Nevadskiy\Uuid\Uuid;

class Book extends Model
{
    use Uuid;
}

Update your migrations to specify UUID type for a primary key.

Schema::create('books', function (Blueprint $table) {
    $table->uuid('id')->primary();
});

Installation

Install a package via composer.

composer require imcity-tech/laravel-uuid

Requirements

  • Laravel 9.0 or newer
  • PHP 8.0 or newer

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Any contribution is Welcome.

Please see CONTRIBUTING for more information.

Security

If you discover any security related issues, please e-mail me instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.

Related Packages

stayallive/laravel-eloquent-uuid

Generate UUID for a Laravel Eloquent model attribute.

72,996 4
marquine/eloquent-uuid

Uuid primary key for Laravel Eloquent Models

11,576 7
theprivateer/eloquent-uuid

UUID utility traits for Laravel

7,181 1
dyrynda/laravel-model-uuid

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

3,631,957 483
goldspecdigital/laravel-eloquent-uuid

A simple drop-in solution for providing UUID support for the IDs of your Eloquen...

1,419,478 505

Version History

Version Released PHP Laravel License
0.8.1 ^8.0 ^6.0|^7.0|^8.0|^9.0 MIT
0.8.0 ^8.0 ^6.0|^7.0|^8.0 MIT
0.7 ^7.2|^8.0 ^6.0|^7.0|^8.0 MIT
0.6 ^7.2|^8.0 ^6.0|^7.0|^8.0 MIT
0.5.0 ^7.2 ^6.0|^7.0|^8.0 MIT