create user with tinker php laravel

Solutions on MaxInterview for create user with tinker php laravel by the best coders in the world

showing results for - "create user with tinker php laravel"
Yasmine
13 Jul 2019
11) php artisan tinker
2  
32) >>> User::create(["name"=> "laravel", "email"=>"laravel@tinker.com", "password"=>bcrypt("secret")]);
4=> App\Models\User {#4290
5   name: "laravel",
6   email: "laravel@tinker.com",
7   updated_at: "2021-04-22 08:23:28",
8   created_at: "2021-04-22 08:23:28",
9   id: 1,
10  }
11>>> 
12