title: Laravel use package in package
body: <p>I'm developing a package in Laravel 5.5 where I need this package:</p>
  
  <p><a href="https://github.com/laracasts/PHP-Vars-To-Js-Transformer" rel="nofollow noreferrer">https://github.com/laracasts/PHP-Vars-To-Js-Transformer</a></p>
  
  <p>The problem is that It's not registering for some reason. When I dd in the <code>JavaScriptServiceProvider.php</code> nothing happens. When I use the <code>Javascript</code> facade I get an error that it does not exists?!</p>
  
  <p>My package <strong>composer.json</strong> file:</p>
  
  <pre><code>"require": {
          "php" : "^7.0",
          "illuminate/support": "~5.5.0",
          "laracasts/utilities": "^3.0"
      },
  </code></pre>
  
  <p>I use Laravel 5.5 so it should be registered by default (composer.json from laracasts package):</p>
  
  <pre><code>"extra": {
          "laravel": {
              "providers": [
                  "Laracasts\\Utilities\\JavaScript\\JavaScriptServiceProvider"
              ],
              "aliases": {
                  "JavaScript": "Laracasts\\Utilities\\JavaScript\\JavaScriptFacade"
              }
          }
      }
  </code></pre>
  
  <p>What am I doing wrong here?</p>