title: Laravel 5 event not working
body: <p>Sr, I am try to using laravel 5 with this example below, but it not working.</p>
  
  <pre><code>namespace App\Events;
  
  use Illuminate\Queue\SerializesModels;
  
  class DidSomething extends Event {
      use SerializesModels;
      public function __construct() {
       return;
      }
  }
  </code></pre>
  
  <p>and handles</p>
  
  <p>namespace App\Handlers\Events;</p>
  
  <p>use App\Events\DidSomething;</p>
  
  <pre><code>class DoSomething {
      public function __construct() {
      }
      public function handle(DidSomething $event) {
        dd($event);
      } 
   }
  </code></pre>
  
  <p>and my EventServiceProvider.php</p>
  
  <pre><code> namespace App\Providers;
  
   use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
   use Illuminate\Foundation\Support\Providers\EventServiceProvider as    ServiceProvider;
  
   class EventServiceProvider extends ServiceProvider {
  
     /**
     * The event handler mappings for the application.
     *
     * @var array
     */
     protected $listen = [
          App\Events\DidSomething::class=&gt;[
                  App\Handlers\Events\DoSomething::class
          ]
     ];
  
  /**
   * Register any other events for your application.
   *
   * @param  \Illuminate\Contracts\Events\Dispatcher  $events
   * @return void
   */
  public function boot(DispatcherContract $events)
  {
      parent::boot($events);
  
      //
  }
  </code></pre>
  
  <p>}</p>
  
  <p>In my controller, i used \Event::fire(new DidSomething());</p>
  
  <p>And I had tried with command line </p>
  
  <pre><code>php artisan event:generate
  php artisan optimize
  composer update
  </code></pre>