Download the PHP package continuum-digital/uid without Composer
On this page you can find all versions of the php package continuum-digital/uid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download continuum-digital/uid
More information about continuum-digital/uid
Files in continuum-digital/uid
Download continuum-digital/uid
More information about continuum-digital/uid
Files in continuum-digital/uid
Vendor continuum-digital
Package uid
Short Description Laravel package to generate unique identifiers
License MIT
Package uid
Short Description Laravel package to generate unique identifiers
License MIT
Please rate this library. Is it a good library?
Informations about the package uid
Continuum Agency Uid
Laravel package to create automatic unique nullable identifiers like u5CVsCnxyXg
for your Eloquent models.
Installation
Require this package
Usage
Configuration
Create a new entry in database.config.php
to configure your uid's:
You can remove the salt
, minLength
or alphabet
to use default values.
Database
Add the $table->uid()
in your Schemas:
Eloquent
Add the HasUid
trait to your Models
to add the capabilities:
- Local scope
$model->uid($uid)
- Automatic generation of
uid
during thecreating
event
Notes
This package use HashIds under the hood.
All versions of uid with dependencies
PHP Build Version
Package Version
The package continuum-digital/uid contains the following files
Loading the files please wait ....