Security with laravel : <p>I have been building a site with Laravel 5.2 and now i'm trying to make my forms more secure, i have used laravel's built in validation to only allow so many characters and required certain field.
Should i be using trim or other forms of validation to make my forms more secure i been looking at the below or does laravel have a lot more security built into it to help.</p>

<pre><code>$data = trim($id); //security
  $data1 = stripslashes($id); //security
  $data1 = htmlspecialchars($id);
</code></pre>
