title: Avoid/remove web middleware in routes for Laravel >= 5.2.31
body: <p>After this <a href="https://github.com/laravel/laravel/commit/5c30c98db96459b4cc878d085490e4677b0b67ed" rel="nofollow">changes</a> which is Laravel 5.2.31 and above,  all routes in <code>app/Http/routes.php</code> will fall under web middleware group.</p>
  
  <p>In <code>RouteServiceProvider.php</code></p>
  
  <pre><code>protected function mapWebRoutes(Router $router)
  {
      $router-&gt;group([
          'namespace' =&gt; $this-&gt;namespace, 'middleware' =&gt; 'web',
      ], function ($router) {
          require app_path('Http/routes.php');
      });
  }
  </code></pre>
  
  <p><strong>The questions:</strong></p>
  
  <ol>
  <li>What is the easiest/best way to define set of routes without <code>web</code> middleware? </li>
  </ol>
  
  <p>One of the use case for this is, declaring routes for stateless api without session middleware which falls under web group middleware </p>