title: Laravel cannot find class of a package
body: <p>Hello I have created a new Package for a Laravel project I am working on, I am new to the concept of packages and laravel itself, but here is the code I have come up with, </p>
  
  <p>/workbench/cycs/proofhq/src/Cycs/Proofhq/ProofhqServiceProvider.php</p>
  
  <pre><code>public function boot()
  {
      $this-&gt;package('cycs/proofhq');
  }
  
  /**
   * Register the service provider.
   *
   * @return void
   */
  public function register()
  {
      $this-&gt;app-&gt;booting(function()
      {
          $loader = \Illuminate\Foundation\AliasLoader::getInstance();
          $loader-&gt;alias('Cycs', 'Cycs\Proofhq\Facades\Supyo');
      });
  
      $this-&gt;app['proofhq'] = $this-&gt;app-&gt;share(function($app)
      {
          return new Proofhq;
      });
  }
  </code></pre>
  
  <p>/workbench/cycs/proofhq/src/Cycs/Proofhq/Proofhq.php</p>
  
  <pre><code>&lt;?php namespace Cycs\Proofhq;
  
  class Proofhq {
  
      public static function greeting() {
          return "What's up dawg!";
      }
  }
  </code></pre>
  
  <p>/workbench/cycs/proofhq/src/Cycs/Proofhq/Facades/Proofhq.php</p>
  
  <pre><code>&lt;?php namespace Cycs\Proofhq\Facades;
  
  use Illuminate\Support\Facades\Facade;
  
  class Proofhq extends Facade {
  
      /**
      * Get the registered name of the component.
      *
      * @return string
      */
  
      protected static function getFacadeAccessor() {
          return 'proofhq';
      }
  
  }
  </code></pre>
  
  <p>I have added the package to the app/config/app.php and the providers array, then try to access the package functions via a simple get, </p>
  
  <pre><code>Route::get('/test', function(){
    echo proofhq::greeting();
  });
  </code></pre>
  
  <p>But I get the following error, </p>
  
  <blockquote>
    <p>Class 'proofhq' not found</p>
  </blockquote>
  
  <p>I cannot work out why, I have followed the examples to the letter, and the class exists.</p>
  
  <p>Can anyone shed anylight on this for me?</p>