title: Pusher not displaying the message in Laravel 5.3
body: <p>I am new to Pusher and Laravel Echo and learning it step by step. I am trying to implement it in my new project but somehow, I am unable to understand how this pusher library works with Laravel Echo.</p>
  
  <p>What I am doing is, on administrator registration, I just want to check that whether what I have done is correct or not. I simply want to see what is the output of the event that I generated, on the debug console in my pusher dashboard account.</p>
  
  <p>I have created an event <code>AdministratorGenerated</code> with the follwing contents:</p>
  
  <pre><code>class AdministratorGenerated implements ShouldBroadcast
  {
      use InteractsWithSockets, SerializesModels;
  
      public $user;
  
      /**
       * Create a new event instance.
       *
       * @return void
       */
      public function __construct(User $user)
      {
          $this-&gt;user = $user;
      }
  
      /**
       * Get the channels the event should broadcast on.
       *
       * @return Channel|array
       */
      public function broadcastOn()
      {
          //return new PrivateChannel('administrator');
  
          // To send it as public channel to pusher
          return['administrator'];
      }
  }
  </code></pre>
  
  <p>In bootstrap.js file, I have:</p>
  
  <pre><code>import Echo from "laravel-echo"
  
  window.Echo = new Echo({
      broadcaster: 'pusher',
      key: 'my-pusher-key',
      cluster: 'ap1',
      encrypted: true
  });
  
  window.Echo.channel('administrator')
      .listen('AdministratorGenerated', (e) =&gt; {
          console.log(e);
      });
  </code></pre>
  
  <p>On successfully registering the form, I am firing an event</p>
  
  <pre><code>event(new AdministratorGenerated($registeredUser));
  </code></pre>
  
  <p>This event will fire the welcome email and sets up the default accounts.</p>
  
  <p>But, when I go to debug console in Pusher dashboard, all I get to see is the following:</p>
  
  <p><a href="https://i.stack.imgur.com/rhJbR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rhJbR.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p><strong>EDIT 1:</strong></p>
  
  <p>Here's the <code>.env</code> file:</p>
  
  <pre><code>APP_ENV=local
  APP_KEY=base64:toktfSBbJM0vbylxhT/zHXOi7zVga9jsliB/mtE96HY=
  APP_DEBUG=true
  APP_LOG_LEVEL=debug
  APP_URL=http://localhost
  
  DB_CONNECTION=mysql
  DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=larammerce_v1
  DB_DATABASE_TESTING=larammerce_v1_testing
  DB_USERNAME=root
  DB_PASSWORD=root
  
  BROADCAST_DRIVER=pusher
  CACHE_DRIVER=file
  SESSION_DRIVER=file
  QUEUE_DRIVER=database
  
  REDIS_HOST=127.0.0.1
  REDIS_PASSWORD=null
  REDIS_PORT=6379
  
  # All of the below values are correct
  MAIL_DRIVER=smtp
  MAIL_HOST=mailtrap.io
  MAIL_PORT=2525
  MAIL_USERNAME=username
  MAIL_PASSWORD=password
  MAIL_ENCRYPTION=null
  
  # All of the below values are correct
  PUSHER_APP_ID=id
  PUSHER_KEY=key
  PUSHER_SECRET=secret
  </code></pre>
  
  <p>And here's the <code>broadcasting.php</code> config file</p>
  
  <pre><code>&lt;?php
  
  return [
  
      /*
      |--------------------------------------------------------------------------
      | Default Broadcaster
      |--------------------------------------------------------------------------
      |
      | This option controls the default broadcaster that will be used by the
      | framework when an event needs to be broadcast. You may set this to
      | any of the connections defined in the "connections" array below.
      |
      | Supported: "pusher", "redis", "log", "null"
      |
      */
  
      'default' =&gt; env('BROADCAST_DRIVER', 'pusher'),
  
      /*
      |--------------------------------------------------------------------------
      | Broadcast Connections
      |--------------------------------------------------------------------------
      |
      | Here you may define all of the broadcast connections that will be used
      | to broadcast events to other systems or over websockets. Samples of
      | each available type of connection are provided inside this array.
      |
      */
  
      'connections' =&gt; [
  
          'pusher' =&gt; [
              'driver' =&gt; 'pusher',
              'key' =&gt; env('PUSHER_KEY'),
              'secret' =&gt; env('PUSHER_SECRET'),
              'app_id' =&gt; env('PUSHER_APP_ID'),
              'options' =&gt; [
                  'cluster' =&gt; 'ap1',
                  'encrypted' =&gt; true
              ],
          ],
  
          'redis' =&gt; [
              'driver' =&gt; 'redis',
              'connection' =&gt; 'default',
          ],
  
          'log' =&gt; [
              'driver' =&gt; 'log',
          ],
  
          'null' =&gt; [
              'driver' =&gt; 'null',
          ],
  
      ],
  
  ];
  </code></pre>
  
  <p>What is the mistake that I am doing ? Can anybody help me out with this ?</p>
  
  <p>Thanks in advance.</p>