From 2c34508314a98cf87c4f37ac9cb5af35d311b962 Mon Sep 17 00:00:00 2001 From: Malico Date: Tue, 19 Oct 2021 22:30:10 +0100 Subject: [PATCH] Auth User Docs --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index ab5d53d..4d3e4f3 100644 --- a/readme.md +++ b/readme.md @@ -132,6 +132,16 @@ To create a new migration, use the artisan command `make:nanoid-migration`. All This is inspired by the [Laravel Eloquent UUID](https://github.com/goldspecdigital/laravel-eloquent-uuid) package and stripe's transaction ids. +If you want to customize the user model, Replace the follows namespace in your user model. + +```php + +// use Illuminate\Foundation\Auth\User as Authenticatable; +use Malico\LaravelNanoid\Auth\User as Authenticatable; + +#class User extends Authenticatable +``` + ### Author Ndifon Desmond Yong