Answers for "laravel add user"

PHP
0

laravel add user

php artisan tinker
DB::table('users')->insert(['name'=>'MyUsername','email'=>'[email protected]','password'=>Hash::make('123456')])
Posted by: Guest on December-20-2020
0

laravel manually authenticate user

use Illuminate\Support\Facades\Auth;

Auth::login($user);
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language