title: Laravel how to add new field in query result
body: <p>How can I add new field in each item, I have used <code>put()</code> but it only add on the last item.</p>
  
  <pre><code>return self::where('latest', 1)
              -&gt;where('competitionId',$competitionId)
              -&gt;orderBy('won','desc')
              -&gt;orderBy('teamName','asc')
              -&gt;get(['teamName','played','won','lost','percentage', 'streak'])
              -&gt;put('test', ['123', '345'])
              -&gt;toJson();
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>{
  "0": {"teamName": "A"},
  "1": {"teamName": "B"},
  "2": {"teamName": "C", "test": ['123', '345']},
  }
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>{
  "0": {"teamName": "A", "test": "qwerty"},
  "1": {"teamName": "B", "test": "qwerty"},
  "2": {"teamName": "C", "test": "qwerty"},
  }
  </code></pre>