title: Laravel 5 Model namespace class not found
body: <p>I am trying to store my models in a custom namespace and directory structure as shown here:</p>
  
  <p><img src="https://i.stack.imgur.com/beGpw.png" alt="enter image description here"></p>
  
  <p>I have:</p>
  
  <pre><code>namespace Modules\Core;
  
  use App\Http\Controllers\Controller;
  
  class TestController extends Controller {
  
      public function index(){
          $user = new User;
          return view('core::test');
      }
  
  }
  </code></pre>
  
  <p>But I am getting:</p>
  
  <pre><code>FatalErrorException in TestController.php line 8:
  Class 'Modules\Core\User' not found
  </code></pre>
  
  <p>Which is wrong anyway, so I thought it must be 'Modules\Core\Models\User'. I tried this and I still got the same error (just with a different class name).</p>
  
  <p>My model:</p>
  
  <pre><code>namespace Modules\Core;
  
  use Illuminate\Database\Eloquent\Model as Eloquent;
  
  class User Extends Eloquent {
      protected $table = 'users';
  }
  </code></pre>
  
  <p>How can I get access to this model in the TestController?</p>
  
  <hr>
  
  <pre><code>Route::group(array('namespace' =&gt; 'Modules\Core\Controllers'), function() {
      Route::get('/test', ['uses' =&gt; 'TestController@index']);
  });
  </code></pre>