code: public function index(Request $request)
      {
          $this->settingRepository->pushCriteria(new RequestCriteria($request));
          $settings = $this->settingRepository->all();
          $dateFormats = DateFormatter::dropdownArray();
  
          return view('l5starter::admin.settings.index')->with([
              'dateFormats' => $dateFormats,
              'settings' => $settings,
          ]);
      }
docs: Display a listing of the Setting.
  
  @param Request $request
  @return Response