title: How can I fetch data from database to multiple views in Laravel?
body: <p>This might be a challenging topic, because I haven't found anything on Google or YouTube. </p>
  
  <p>So I want to fetch data from a database to multiple views/pages in a Laravel application.</p>
  
  <h3>An example of this challenge:</h3>
  
  <p>A client who is a photographer. He wants website where he can showcase a gallery of his photographs in a gallery page. He also wants to display the latest the photographs on the home page under the title latest images.</p>
  
  <p>He has an admin page where he can upload all his photographs to a database.</p>
  
  <p>If anyone has an idea how to do this, I will appreciate it!</p>
  
  <p>Thanks!</p>