title: Laravel join tables
body: <p>I have 2 tables and I need to join those tables.
  I need to <code>select</code>  <code>id</code> and <code>nam</code>e from <code>galleries</code>, where share <code>gal.id = galleries.id</code> and <code>user_id = auth::id()</code>.</p>
  
  <p><strong>Tables:</strong></p>
  
  <pre><code>Galleries: id, name
  Share: gal_id, user_id
  </code></pre>
  
  <p>Please show me example in laravel. And I need to display it.</p>