PHPackages                             iotekas/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. iotekas/uuids

ActiveLibrary

iotekas/uuids
=============

UUID for Laravel

1.0.0.x-dev(6y ago)028PHP

Since Feb 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/iotekas/uuids)[ Packagist](https://packagist.org/packages/iotekas/uuids)[ RSS](/packages/iotekas-uuids/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Use UUID as primary key in Laravel
----------------------------------

[](#use-uuid-as-primary-key-in-laravel)

Use this package to use uuid as primary key on your model.

The package creates UUID-4 keys from the ramsey/uuid package, and automatically assigns the key to the $id field. This is a simple package with almost no configuration. There are more advanced packages out there ex.:

```
