Laravel: Difference Between Route Middleware and Policy
<p>Developing an app with laravel I realised that what can be done with <code>Policy</code> can exactly be done with <code>Middleware</code>. Say I want to prevent a user from updating a route if he/she is not the owner of the information, I can easily check from the route and can do the same from the policy.</p>
<p>So my question is why should I use <code>policy</code> over middleware and vice versa</p>