title: Grouping Laravel controllers in folders
body: <p>To organize my controllers, I would like to sort them in folders. For example, I have an admin panel that utilizes many controllers that I don't want mixed up with the other controllers. I moved those controllers in a folder in my /controllers directory. </p>
  
  <p>So my structure looks like this:</p>
  
  <pre><code>controllers /
      BaseController.php
      HomeController.php
  
      admin /    
         AdminController.php
  </code></pre>
  
  <p>Now my admin controller looks like this:</p>
  
  <pre><code>namespace Admin;
  
  class AdminController extends \BaseController {
  
      public function getHome() {
  
          return \View::make('admin.home');
  
      }
  
  }
  </code></pre>
  
  <p>Then I can do a grouped route for my admin panel:</p>
  
  <pre><code>Route::group(['namespace' =&gt; 'Admin'], function() {
  
      Route::get('admin', ['as' =&gt; 'admin', 'uses' =&gt; 'AdminController@getHome']);
  
  });
  </code></pre>
  
  <p><strong>There's absolutely nothing wrong with this however</strong>, I find it a nuisance having to namespace every class in these controllers using <code>\</code>. Is there I way I can eliminate the use of having to namespace every class in these controllers under admin? For example, I don't want to type <code>\View::make()</code>, I want to have <code>View::make()</code>. </p>