title: Laravel Controller doesn't exist, even though it clearly exists
body: <p>The error I'm getting is that the controller doesn't exist even though I know it does, here's the code.</p>
  
  <p>Route.php</p>
  
  <pre><code>Route::get('mdpay/template', array("uses" =&gt; "templateController@index"));
  </code></pre>
  
  <p>templateController.blade.php</p>
  
  <pre><code>class templateController extends BaseController {
  
    public function index()
    {
      echo "made it";
    }
  
  
  }
  </code></pre>
  
  <p>Why might I be getting this error: Class TemplateController does not exist</p>
  
  <p>================= UPDATE: ==================</p>
  
  <p>Ok, so I've created the correct route, renamed my file, and corrected the class name and I'm still coming up with that error.</p>
  
  <p>File Names:</p>
  
  <p>templateController.php</p>
  
  <pre><code>// File Name: TemplateController.php
  class TemplateController extends BaseController {
      public function index()
      {
          // app/views/myView.blade.php
          echo "hello";
      }
  }
  </code></pre>
  
  <p>My route is:</p>
  
  <pre><code>Route::get('mdpay/template', array("uses" =&gt; "TemplateController@index"));
  </code></pre>
  
  <p>Still receiving Controller Doesn't Exist error. All my other controllers (3 others) are working except this one.</p>