title: When making a Laravel package, how do I register the service provider and alias of dependency packages?
body: <p>I'm creating a package for Laravel and I've defined the Notification package (<a href="https://github.com/edvinaskrucas/notification">https://github.com/edvinaskrucas/notification</a>) as a dependency for my package.</p>
  
  <p>In /workbench/vendor/package/src/composer.json I have:</p>
  
  <pre><code>"require": {
      "php": "&gt;=5.3.0",
      "illuminate/support": "4.1.*",
      "edvinaskrucas/notification": "2.*"
  }
  </code></pre>
  
  <p>I'm then registering the service provider in my package's service provider's register method (not even sure if this is the right way to do this), and the alias using App::alias.</p>
  
  <p>So in /workbench/vendor/package/src/Vendor/Package/PackageServiceProvider.php I have:</p>
  
  <pre><code>public function register()
  {
      App::register('Krucas\Notification\NotificationServiceProvider');
      App::alias('Notification','Krucas\Notification\Facades\Notification');
  }
  </code></pre>
  
  <p>But I'm still getting "Class 'Notification' not found" exception when attempting to use Notification::info() in a controller or Notification::showAll() in a view.</p>
  
  <p>How do I properly register service providers for my package's dependencies?</p>