This is a Laravel package that lets you add uuid's to a selected field.
Add the following to your composer.json file:
Add the garethnic\ServiceProvider to your config/app.php providers array:
Then run the following command to copy config file.
In your model import the trait:
Then it's as simple as:
class User extends Authenticatable
You can specify which field to fill in the config/unique.php file:
'field' => 'name'
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.