title: Class Controller not found in laravel 5
body: <p>So I am new to laravel and was just trying out some code to clear the basics,but however after creating a new controller to handle a route.It throws a fatal exception saying Class 'Controller' not found! </p>
  
  <p>(The controller.php exists in the same directory)</p>
  
  <p>The controller.php code is the default one</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Foundation\Bus\DispatchesJobs;
  use Illuminate\Routing\Controller as BaseController;
  use Illuminate\Foundation\Validation\ValidatesRequests;
  use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
  
  abstract class Controller extends BaseController
  {
      use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
  }
  </code></pre>
  
  <p>This is my PagesController.php code</p>
  
  <pre><code>&lt;?php
  
  class PagesController extends Controller
  {
      public function home()
      {
          $name = 'Yeah!';
          return View::make('welcome')-&gt;with('name',$name);
      }
  }
  </code></pre>
  
  <p>This is route.php code</p>
  
  <pre><code>&lt;?php
  
  Route::get('/','PagesController@home');
  </code></pre>
  
  <p>The welcome.blade.php code is the default one except it displays the variable $name instead of laravel 5.
  What am I getting wrong?</p>