code: public function simplePaginate($perPage = 15, $pageName = 'page')
      {
          $page = Paginator::resolveCurrentPage($pageName);
          $results = $this->forPage($page, $perPage + 1)->getList();
  
          return new Paginator($results, $perPage, $page, [
              'path' => Paginator::resolveCurrentPath(),
              'pageName' => $pageName,
          ]);
      }
docs: Get a paginator only supporting simple next and previous links.
  
  This is more efficient on larger data-sets, etc.
  
  @param  int  $perPage
  @param  string  $pageName
  
  @return \Illuminate\Pagination\Paginator