change the date format in laravel view page : <p>I want to change the date format which is fetched from database.
now I got  2016-10-01<code>{{$user-&gt;from_date}}</code> .I want to change the format 'd-m-y' in laravel 5.3</p>

<pre><code>{{ $user-&gt;from_date-&gt;format('d/m/Y')}}
</code></pre>
