using tinker in laravel code example
Example: tinker laravel tutorial
php artisan tinker
$user = new App\User;
$user->name = "Wruce Bayne";
$user->email = "[email protected]";
$user->save();
php artisan tinker
$user = new App\User;
$user->name = "Wruce Bayne";
$user->email = "[email protected]";
$user->save();