title: Composer dump-autoload, issue
body: <p>While Working on a project using Laravel 4 to be precise, I decided that i wanted to make my own helper file to house my custom functions.. one of which is this below... </p>
  
  <pre><code>function pr($ar=array(), $bool=false){
  
     echo '&lt;pre&gt;';
     print_r($ar);
     echo '&lt;/pre&gt;';
  
     if($bool){
        exit;
     }
  
  }
  </code></pre>
  
  <p>in my composer.json file, just after the autoload: classmap , i added myne, autoload:files -arrar and included my custom file, app/helpers as illustrated below..</p>
  
  
  
  <pre><code>            "app/database/migrations",
              "app/database/seeds",
              "app/tests/TestCase.php"
          ],
  
          "others":[
              "app/helpers.php"
          ]
  </code></pre>
  
  
  
  <p>and i switched to my terminal window and ran the following commands </p>
  
  <pre><code>composer dump-autoload -o  
  </code></pre>
  
  <p>but i still got errors that my pr() function was undefined... then i tried the artisan alternative... [-o ] to optimize the files</p>
  
  <pre><code>php artisan dump-autoload
  </code></pre>
  
  <p>but still it refused to work... and then i changed the array name from </p>
  
  <pre><code>"others":[
              "app/helpers.php"
          ]
  </code></pre>
  
  <p>to </p>
  
  <pre><code>"files":[
              "app/helpers.php"
          ]
  </code></pre>
  
  <p>then i got the desired response, my code could now see the custom function i wrote, please i'd like to know if there is a pattern i was supposed to follow or otherwise, in my case, i mistook " files ", for " others " and i got errors, but incase, what did i miss here, all i see is just a name-string value for the array representation.... </p>