title: Trying to get Pusher working with Laravel 5.1
body: <p>I'm trying to broadcast using Laravel 5.1 to my front end JS using <code>Pusher</code>.</p>
  
  <p>This is my front end code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;head&gt;
    &lt;title&gt;Pusher Test&lt;/title&gt;
    &lt;script src="https://js.pusher.com/2.2/pusher.min.js"&gt;&lt;/script&gt;
    &lt;script&gt;
      // Enable pusher logging - don't include this in production
      Pusher.log = function(message) {
        if (window.console &amp;&amp; window.console.log) {
          window.console.log(message);
        }
      };
  
      var pusher = new Pusher('2f89b1f8bcf257af0d8e', {
        encrypted: true
      });
  
      var channel = pusher.subscribe('test_channel');
  
      channel.bind('App\Events\NewChatMessage', function(message) {
        console.log(message);
      });
    &lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>This is my event:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Events;
  
  use App\Events\Event;
  use Illuminate\Queue\SerializesModels;
  use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
  
  class NewChatMessage implements ShouldBroadcast
  {
      use SerializesModels;
  
      /**
       * Create a new event instance.
       *
       * @return void
       */
      public function __construct()
      {
          //
      }
  
      /**
       * Get the channels the event should be broadcast on.
       *
       * @return array
       */
      public function broadcastOn()
      {
          return ['test_channel'];
      }
  }
  </code></pre>
  
  <p>My keys are setup in the <code>broadcasting.php</code> config file.</p>
  
  <p>And these are my routes:</p>
  
  <pre><code>/*
   * Pusher Test Routes
   */
  
  Route::get('/fire', function() {
      event(new App\Events\NewChatMessage($message = ['name' =&gt; 'Martin']));
  
      return "Done";
  });
  
  Route::get('/test', function() {
      return view('test');
  });
  </code></pre>
  
  <p>For some reason I don't get a response!</p>
  
  <p>The frontend code is fine as I can receive data using the pusher debug console, so the issue appears to be on the Laravel site.</p>
  
  <p>Any help would be appreciated :D</p>