title: Laravel 5 - Error Call to undefined method Illuminate\Events\Dispatcher::fire()
body: <p>I'm working on a REST API using JWT. </p>
  
  <p>The login route is good, but the router in group <code>middleware jwt.auth</code> doesn't work.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Events\Dispatcher::fire()</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>Route::group(['namespace' =&gt; 'Api'], function(){
  
      Route::get('user/login', 'AuthController@login');
  
      Route::group(['middleware' =&gt; ['jwt.auth']], function() {            
          Route::get('auth/me', 'AuthController@me');
      });
  });
  </code></pre>