Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel tinker add user

$user = new AppUser();
$user->password = Hash::make('the-password-of-choice');
$user->email = 'the-email@example.com';
$user->name = 'My Name';
$user->save();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #tinker #add #user
ADD COMMENT
Topic
Name
2+8 =