Download the PHP package ddlabs/uuid-package without Composer
On this page you can find all versions of the php package ddlabs/uuid-package. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ddlabs/uuid-package
More information about ddlabs/uuid-package
Files in ddlabs/uuid-package
Download ddlabs/uuid-package
More information about ddlabs/uuid-package
Files in ddlabs/uuid-package
Vendor ddlabs
Package uuid-package
Short Description Package to allow you to use UUID for primary key in Laravel Models
License MIT
Package uuid-package
Short Description Package to allow you to use UUID for primary key in Laravel Models
License MIT
Please rate this library. Is it a good library?
Informations about the package uuid-package
DiegoLabs UUID Package
Simple package to allow you to add UUID to Laravel Models via a trait.
Install
Traits
- SetsUuidWhenCreating - This sets the primary key of the model to a UUID. It allows you to pass a UUID if you have a workflow that creates a UUID by default. If the UUID is version 4 compliant, then the trait will just us the UUID passed to it. We use this from time to time when records are created on a mobile device then passed to a backend via an API. They may already have a UUID associated with it.
Usage
ID must be configured in the database to accept a UUID.
For Migrations:
For Models:
All versions of uuid-package with dependencies
PHP Build Version
Package Version
The package ddlabs/uuid-package contains the following files
Loading the files please wait ....