At edit() function of UsersController class, values are given into create_edit.blade.php below process: view('User::users.create_edit')->with(compact('user')…