UUIDs in Laravel/Lumen applications with eloquent


Universal Unique Identifier (UUID) is a 128-bit string used to uniquely identify objects/resources in computer systems. It also termed as Global Unique Identifier (GUID). The probability of duplicated UUID not zero, but close enough to be zero, to be negligible. We can use UUIDs in Laravel as primary key of records in our database.