title: Class 'Painting' not found in web.php Laravel 5
body: <p>Hi all I'm a newbie for Laravel when I try to insert data to the table paintings which worked fine up-to this point now the browser throwing (1/1) <code>FatalErrorException Class 'Painting' not found in web.php</code> (line 15)
  Hoping kind help from you . Thanks!</p>
  
  <p><strong>Here is web.php</strong></p>
  
  <pre><code>Route::get('/', function () {
      $painting = new Painting; //line 15
      $painting-&gt;title = 'Do No Wronge';
      $painting-&gt;artist = 'D. DoRight';
      $painting-&gt;year = 2017;
      $painting-&gt;save();
      return view('welcome');
  });
  </code></pre>
  
  <p><strong>Here is Painting.php in app folder</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  class Painting extends Eloquent
  {
  
  }
  ?&gt;
  </code></pre>
  
  <p>Even the <a href="https://stackoverflow.com/questions/31358101">FatalErrorException in routes.php line 22: Class &#39;Painting&#39; not found</a> doesn't provided the correct answer for the version i'm using</p>