Laravel Agregar usuario
php artisan tinker
DB::table('users')->insert(['name'=>'MyUsername','email'=>'[email protected]','password'=>Hash::make('123456')])
Splendid Skipper
php artisan tinker
DB::table('users')->insert(['name'=>'MyUsername','email'=>'[email protected]','password'=>Hash::make('123456')])
Auth::login($user);
//namespace
use Illuminate\Support\Facades\Auth;