How to use Prepared Statement in Laravel 5.2
<p>I created a simple insert statement in Laravel 5.2 like these.</p>

<pre><code>User::create([
        'email' =&gt; $request-&gt;input('email'),
        'username' =&gt; $request-&gt;input('username'),
        'password' =&gt; bcrypt($request-&gt;input('password')),
    ]);
</code></pre>

<p>But I want my database more secure so I prefer using Prepared Statement. I'm asking to properly write the syntax? How can I properly hash my <code>password</code> within statement?</p>

<pre><code>User::insert('insert into users (email, username, password) values (?,?,?)');
</code></pre>