how to add extra details to auth set user in laravel code example
Example 1: laravel auth user_id
$userId = Auth::id();
Example 2: laravel add user
php artisan tinker
DB::table('users')->insert(['name'=>'MyUsername','email'=>'[email protected]','password'=>Hash::make('123456')])