Register a user in Laravel manually

php artisan tinker

Adding a new user to user table with the model User().

$user = new App\User();
$user->password = Hash::make('password');
$user->email = 'email@example.com';
$user->name = 'Name';
$user->save();

Leave a comment