title: Laravel paginate append attributes
body: <p>I am rebuilding my search function from php to vue.</p>
  
  <p>In php i used to add attributes my model class for example a html label, thumbnail etc.
  I could just grab that with <code>$model-&gt;HtmlThumb</code> and the attributes will be loaded.
  Now since i get a json response back the label are not present there.
  I know i could simply use the <code>$appends</code> property on the model class.</p>
  
  <p>The problem is that the attribute always is appended, what i definitely not want.</p>
  
  <p>I know i can manually hide these attributes with hideAttributes or something like that, but it is not convenient to do this in an existing app.</p>
  
  <p>This way it should work but now it returns an array of items instead of the paginator collection.</p>
  
  <pre class="lang-php prettyprint-override"><code>$results = $db_query-&gt;paginate($num_of_results)-&gt;appends($result)-&gt;each(function($project){
      $result-&gt;setAppends([
          'ProjectDescription',
          'FileCountLabel',
      ]);
  });
  </code></pre>
  
  <p>I am looking for a way to do this properly.</p>