Skip to main content

Posts

Showing posts from September, 2020

Manually register a user in Laravel

  This is an old post, but if anyone wants to do it with command line, in Laravel 5.*, this is an easy way: php artisan tinker then type (replace with your data): DB :: table ( 'users' )-> insert ([ 'name' => 'MyUsername' , 'email' => 'thisis@myemail.com' , 'password' => Hash :: make ( '123456' )])