Créer un utilisateur à l'aide de Tinker
Psy Shell v0.10.6 (PHP 7.4.16 — cli) by Justin Hileman
>>> User::create(["name"=> "larainfo","email"=>"[email protected]","password"=>bcrypt("123456")]);
=> App\Models\User {#4290
name: "larainfo",
email: "[email protected]",
updated_at: "2021-04-22 08:23:28",
created_at: "2021-04-22 08:23:28",
id: 1,
}
>>>
Ill Ibis