title: Custom helper class not loading in Laravel 4
body: <p>I am currently running into a problem when trying to use a custom helper class in Laravel 4.<br>
  I've created a folder in <code>app/libraries</code> which has a custom class MenuComposer.</p>
  
  <p>app/libraries/folder/MenuComposer.php </p>
  
  <pre><code>&lt;?php
      namespace 'folder\MenuComposer'
  
      class MenuComposer {
        // Code here
      }
  </code></pre>
  
  <p>I've edited composer.json to autoload the <code>app/libraries</code> folder and ran the dump-autoload command in console.</p>
  
  <p>composer.json</p>
  
  <pre><code>    "autoload": {
      "classmap": [
          "app/commands",
          "app/controllers",
          "app/models",
          "app/database/migrations",
          "app/database/seeds",
          "app/tests/TestCase.php",
          "app/libraries"
      ]
  },
  </code></pre>
  
  <p>And finally I call the class like so:</p>
  
  <pre><code>View::composer('layouts.back', 'folder/MenuComposer');
  </code></pre>
  
  <p>Whatever I try, Laravel keeps returning the message <code>Class 'MenuComposer' not found</code></p>
  
  <p>Does anyone here know what the problem might be?</p>