📅  最后修改于: 2022-03-11 14:51:10.342000             🧑  作者: Mango
shell:
php artisan tinker
$user = new App\Models\User
$user->name = 'WideWolf'
$user->email = 'example@gmail.com'
$user->password = bcrypt('1234')
var_dump($user->getAttributes())
$user->save() // true
exit
Check in table users the user created - Checked