title: Laravel middleware get route post data and custom route key-value pairs
body: <p>I have a route that i am using to post data to server. I want to get the posted data and log that in the db. Can i get the form post data in the handle function</p>
  
  <pre><code>public function handle($request, Closure $next) {
        echo "...intercept post data";
        return $next($request);
     }
  </code></pre>
  
  <p>Second, i have this route for instance,</p>
  
  <pre><code>Route::get('role',[
     'middleware' =&gt; 'Role:editor',
     'uses' =&gt; 'TestController@index',
  ]);
  </code></pre>
  
  <p>I want to add a custom key value that i can access from the middleware, i.e</p>
  
  <pre><code>Route::get('role',[
     'middleware' =&gt; 'Role:editor',
     'uses' =&gt; 'TestController@index',
     'deed' =&gt; 'Viewed registered users'
  ]);
  </code></pre>
  
  <p>In the above route i added the key <code>deed</code>.Is this possible in laravel 5 and<br>
  can i access it in a middleware?. </p>