name_first = "admin"; $user->name_last = "admin"; $user->email = "admin@admin.local"; $user->setPasswordAttribute("1234"); $user->phone = 12345678; //Gives Administrator role to the Admin $user->assignRole("Administrator"); $user->save(); } }