wfeller/laravel-uuid-primary-key

This package is abandoned and no longer maintained. No replacement package was suggested.

Trait to use ordered uuids on your models.

3.2 2022-02-16 17:48 UTC

This package is auto-updated.

Last update: 2022-12-16 19:25:16 UTC


README

Latest Version on Packagist Total Downloads Plant Tree Buy us a tree

A trait to use ordered uuids as primary keys on your eloquent models.

Licence

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees here offset.earth/treeware

Read more about Treeware at treeware.earth

Installation

You can install the package via composer:

composer require wfeller/laravel-uuid-primary-key

Usage

Add the following trait to your eloquent models:

class Car extends \Illuminate\Database\Eloquent\Model
{
    use \WF\UuidPrimaryKey\HasUuidPrimaryKey;
    
    // ...
}

Testing (todo)

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits