how to add new user to auth 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')])