title: post some event data in Laravel event handler
body: <p>I made below code for save some data to user table when taken a logout event, and now need to save same data to "login_histories" table for recording user log histories, then how to modify this function handle in below code? 
  Thanks:)</p>
  
  <p><strong>timestamp_create_login_histories_table.php</strong></p>
  
  <pre><code>public function up()
  {
      Schema::create('login_histories', function (Blueprint $table) {
          $table-&gt;engine = 'InnoDB';            
          $table-&gt;increments('id')-&gt;unsigned();
  
          $table-&gt;integer('user_id')-&gt;unsigned()-&gt;index();
          $table-&gt;timestamp('last_login_at')-&gt;nullable();
          $table-&gt;string('last_login_ip')-&gt;nullable();
          $table-&gt;timestamps();
          $table-&gt;softDeletes();
  
          $table-&gt;foreign('user_id')-&gt;nullable()-&gt;references('id')-&gt;on('users')-&gt;onDelete('cascade')-&gt;onUpdate('cascade');
      });
  }
  </code></pre>
  
  <p><strong>App\Listeners\LogSuccessfulLogin.php</strong>
  
  
  <pre><code>namespace App\Listeners;
  
  use Illuminate\Auth\Events\Login;
  use Illuminate\Http\Request;
  
  class LogSuccessfulLogin
  {
      /**
       * Create the event listener.
       *
       * @param  Request  $request
       * @return void
       */
  public function __construct(Request $request)
  {
      $this-&gt;request = $request;
  }
  
  public function handle(Login $event)
  {
      $user = $event-&gt;user;
      $user-&gt;last_login_at = date('Y-m-d H:i:s');
      $user-&gt;last_login_ip = $this-&gt;request-&gt;ip();
      $user-&gt;save();
  }
  </code></pre>
  
  <p>Must make a model login_histories firstly? and then could I modify like below code?</p>
  
  <pre><code>public function handle(Login $event)
  {
      $login_histories = $event-&gt;login_histories;
      $login_histories-&gt;last_login_at = date('Y-m-d H:i:s');
      $login_histories-&gt;last_login_ip = $this-&gt;request-&gt;ip();
      $login_histories-&gt;save();
  }
  </code></pre>