title: paginate method for data obtained from external api
body: <p>I'm wondering if it is possible to automate the pagination process for data obtained from external API like </p>
  
  <pre><code>$users = App\User::paginate(15);
  </code></pre>
  
  <p>for models. Maybe do you know any packages? I want to make something like that</p>
  
  <pre><code>        $client = new \GuzzleHttp\Client();
          $res = $client-&gt;request('GET', 'https://xxx');
          $data = $res-&gt;getBody();
          $res = json_decode($data );
         ///pagination
  </code></pre>
  
  <p>Do you know any solutions? Is the only one way to create pagination manually?</p>