public function index(Request $request, UserRepository $users)
    {
        return view('authentication::user.index')
            ->with('users', $users->query($request->get('q')));
    }
public function index(Request $request, UserRepository $users)
    {
        return view('authentication::user.index')
            ->with('users', $users->query($request->get('q')));
    }
public function index ( Request $ request , UserRepository $ users ) { return view ( 'authentication::user.index' ) -> with ( 'users' , $ users -> query ( $ request -> get ( 'q' ) ) ) ; }
Shows the user index.

@param Request $request
@param UserRepository $users
@return View
Shows the user index .