php artisan tinker new record

33

>>> $user = new App\User;

>>> $user->name = "Hello laravel";

>>> $user->email = "[email protected]";

>>> $user->password = Hash::make('password');

>>> $user->save();

Comments

Submit
0 Comments