title: Clean POST and GET variable with Symfony
body: <p>I'm using Silex, which is using the component <code>Request</code> from Symfony. 
  When I get the data sent from a form, for example this way:</p>
  
  <pre><code>$params = $request-&gt;request-&gt;all();
  </code></pre>
  
  <p>No thing is cleaned. Unlike Laravel where the user input data is cleaned automatically. Should I do it manually, with built PHP functions like <code>strip_tag</code> or there's a symfony way to do it. </p>