title: Building query string programmatically in Guzzle?
body: <p>In my PHP <a href="http://guzzlephp.org" rel="noreferrer">Guzzle</a> client code, I have something like</p>
  
  <pre><code>$c = new Client('http://test.com/api/1.0/function');
  
  $request = $c-&gt;get('?f=4&amp;l=2&amp;p=3&amp;u=5');
  </code></pre>
  
  <p>but instead I want to have something like:</p>
  
  <pre><code>$request-&gt;set('f', 4);
  $request-&gt;set('l', 2);
  $request-&gt;set('p', 3);
  $request-&gt;set('u', 5);
  </code></pre>
  
  <p>Is it possible in Guzzle? From the documentation and random googling it would seem it is, but I can't find exactly how.</p>