title: How Can I Configure Lumen To Broadcast Events via Pusher?
body: <p>Lumen's docs state that "Lumen supports several broadcast drivers out of the box: <code>Pusher</code>, <code>Redis</code>, and a <code>log</code> driver for local development and debugging. A configuration example is included for each of these drivers. The <code>BROADCAST_DRIVER</code> configuration option may be used to set the default driver."</p>
  
  <p>In my .env file I have set <code>BROADCAST_DRIVER=pusher</code>. Where/how can I configure my pusher ID, key, and secret? I see that in Laravel a configuration file for setting these options lies within <code>config/broadcasting.php</code>. <strong>Where can I set these options within Lumen?</strong></p>
  
  <p>Temporarily I have edited <code>Illuminate\Broadcasting\BroadcastManager</code> and hard coded my values in.</p>
  
  <pre><code>protected function createPusherDriver(array $config)
      {
          // override
          $app_id = 'hidden';
          $key = 'hidden';
          $secret = 'hidden';
  
          return new PusherBroadcaster(
              new Pusher($key, $secret, $app_id, Arr::get($config, 'options', []))
          );
      }
  </code></pre>