title: Individual middleware for resource routes?
body: <p>I want to have a different middleware for each individual route like you can do with names. E.g.</p>
  
  <pre><code>Route::resource('posts', 'PostsController', [
      'names' =&gt; [
          'index' =&gt; 'custom-index-name',
          'store' =&gt; 'custom-store-name'
      ]
  ]);
  </code></pre>
  
  <p>But I want to do it with middleware but it doesn't seem like this is possible. Is there a way to do this?</p>