title: Laravel inter-user messaging system
body: <p>I am developing a messaging system for my app, and currently, I have two tables:  </p>
  
  <p>1) <code>messages</code> table:  </p>
  
  <pre><code>Schema::create('messages', function (Blueprint $table) {
      $table-&gt;increments('id');
      $table-&gt;text('subject');
      $table-&gt;integer('sender_id');
      $table-&gt;text('body');
      $table-&gt;timestamps('create_date');
      $table-&gt;integer('sent_to_id');
  });
  </code></pre>
  
  <p>2) <code>users</code> table: </p>
  
  <pre><code>Schema::create('users', function (Blueprint $table) {
      $table-&gt;increments('id');
      $table-&gt;string('name');
      $table-&gt;string('email')-&gt;unique();
      $table-&gt;string('password');
      $table-&gt;rememberToken();
      $table-&gt;timestamps();
  });
  </code></pre>
  
  <p>Currently, I can store messages and their subjects to the <code>messages</code> table. Now, I want to pick the <code>id</code> of the user I'm sending the message to. So that I can use it to create a conversation.  </p>
  
  <p>Is there any way I can list all the users and pick the preferred user that I want to send message to? or anyone with a messaging technique to help out?</p>