PHPackages                             jenbuzz/laravel-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. [Database &amp; ORM](/categories/database)
4. /
5. jenbuzz/laravel-uuid

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

jenbuzz/laravel-uuid
====================

Adds a uuid to a model using ramsey/uuid

2.2.0(6y ago)82.1k1MITPHPPHP ^7.2

Since May 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jenbuzz/laravel-uuid)[ Packagist](https://packagist.org/packages/jenbuzz/laravel-uuid)[ RSS](/packages/jenbuzz-laravel-uuid/feed)WikiDiscussions master Synced yesterday

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

[![Build Status](https://camo.githubusercontent.com/169119f94fa9267096f86a4fa531a315d29d2a6f924451b25e76af29687b11fb/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a656e62757a7a2f6c61726176656c2d757569642e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/jenbuzz/laravel-uuid)

Laravel UUID
============

[](#laravel-uuid)

This package easily adds a uuid generated with ramsey/uuid to an Eloquent model.

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

[](#installation)

`composer require jenbuzz/laravel-uuid`

Documentation
-------------

[](#documentation)

To automatically create a uuid for new models all that is needed is to include the uuid trait as in the following example:

```
