title: Laravel 5: Class 'HTML' not found even though package has been installed
body: <p>I know that this isn't an embedded package any more.  In my <code>composer.json</code> I have:</p>
  
  <pre><code>"require": {
      ...stuff...
      "illuminate/html": "5.*"
  }, etc.
  </code></pre>
  
  <p>In <code>app.php</code> I have:</p>
  
  <pre><code>'providers' =&gt; [
      ...stuff...
      'Illuminate\Html\HtmlServiceProvider',
      ...more stuff...
  ],
  'aliases' =&gt; [
      ...stuff...
      'Html' =&gt; 'Illuminate\Html\HtmlFacade'
  ], etc.
  </code></pre>
  
  <p>I have run <code>composer update</code>, so why is it not recognising when I use <code>HTML::script()</code>?  This is the Blade template that is throwing the error:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  
  &lt;html lang="en"&gt;
  
  &lt;!-- USER LOGIN SECURITY --&gt;
  &lt;!-- require('redis-session.php');
  RedisSession::start();
  
  @if (!isset($_SESSION['HTTP_SHIB_EP_EMAILADDRESS']))
      header('Location: https://resviz.ncl.ac.uk/signin?redirect=https://resviz.ncl.ac.uk/wos/index.php');
      die();
  @endif --&gt;
  
  &lt;head&gt;
      &lt;title&gt;Academic Intelligence&lt;/title&gt;
  
      &lt;!-- LINKS --&gt;
  
      &lt;!-- local css file --&gt;
      &lt;link href="css/style.css" rel="stylesheet" type="text/css" /&gt;
      &lt;!-- Corporate visual identity --&gt;
      &lt;link href="//resviz.ncl.ac.uk/static/style/cvi.css" media="screen" rel="stylesheet" type="text/css" /&gt;
      &lt;!-- bootstrap css --&gt;
      &lt;link href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.0/readable/bootstrap.min.css" rel="stylesheet"&gt;
  
      &lt;!-- fonts --&gt;
      &lt;link href='https://fonts.googleapis.com/css?family=Raleway:700' rel='stylesheet' type='text/css'&gt;
      &lt;link href='https://fonts.googleapis.com/css?family=Lora:400,700' rel='stylesheet' type='text/css'&gt;
  
      &lt;!-- META --&gt;
  
      &lt;meta charset="UTF-8"/&gt;
      &lt;!-- ensure proper rendering and touch zooming in mobile devices --&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=10" /&gt;
  
      &lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&gt;
      &lt;!-- WARNING: Respond.js doesn't work if you view the page via file:// --&gt;
      &lt;!--[if lt IE 9]&gt;
          &lt;script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"&gt;&lt;/script&gt;
          &lt;script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;!-- BREADCRUMBS --&gt;
      &lt;div class="sg-orientation"&gt;    
          &lt;a href="#content" class="sg-button sg-skiptocontent"&gt;Skip to Content&lt;/a&gt;
          &lt;span class="sg-breadcrumbs"&gt;
              &lt;a href="http://www.ncl.ac.uk/"&gt;Newcastle University&lt;/a&gt; &amp;gt;&amp;gt;
              &lt;a href="https://resviz.ncl.ac.uk/"&gt;Research Visualisation&lt;/a&gt; &amp;gt;&amp;gt;
              &lt;strong href="#"&gt;Academic Intelligence&lt;/strong&gt;
          &lt;/span&gt;
      &lt;/div&gt;
  
      &lt;!-- TITLE BAR --&gt;
      &lt;div class="sg-titlebar"&gt;
          &lt;h1&gt;&lt;a title="Newcastle University Homepage" accesskey="1" href="http://www.ncl.ac.uk/"/&gt;&lt;span title="Newcastle University"&gt;Newcastle University&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;
          &lt;h2&gt;&lt;a href="https://resviz.ncl.ac.uk/wos/"&gt;Academic Intelligence&lt;/a&gt;&lt;/h2&gt;
      &lt;/div&gt; 
  
  
      &lt;div class="sg-navigation"&gt;&amp;nbsp;&lt;/div&gt;
  
      &lt;div class="sg-content"&gt;
          &lt;!-- NAVIGATION BAR --&gt;
          &lt;nav class="navbar navbar-default" role="navigation"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="navbar-header"&gt;
                  &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
                      &lt;ul class="nav navbar-nav"&gt;
                          &lt;li&gt;&lt;a href="{{ action('PagesController@index') }}"&gt;&lt;span class="glyphicon glyphicon-home"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="{{ action('PagesController@about') }}"&gt;About&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt; &lt;!-- navbar-collapse --&gt;
              &lt;/div&gt; &lt;!-- container --&gt;
          &lt;/nav&gt; &lt;!-- navbar --&gt;
  
          &lt;!-- main content --&gt;
          &lt;section class="container"&gt;
  
              {{-- unique section to other pages --}}
              @yield('content')
  
          &lt;/section&gt; &lt;!-- main content; container --&gt;
      &lt;/div&gt; &lt;!-- sg-content --&gt;
  
      &lt;!-- FOOTER --&gt;
      &lt;div class="sg-clear"&gt;&amp;nbsp;&lt;/div&gt;
      &lt;div class="sg-footer"&gt;
          &lt;p&gt;Research &amp;amp; Enterprise Services&lt;br/&gt;Newcastle University, Newcastle Upon Tyne,&lt;br/&gt;NE1 7RU, United Kingdom&lt;br/&gt;&lt;a href="mailto:res.policy@ncl.ac.uk"&gt;Email Webmaster&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;copy; {{ date('Y') }} Newcastle University&lt;/p&gt;
      &lt;/div&gt;
  
      &lt;!-- SCRIPTS --&gt;
  
      &lt;!-- jquery --&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"&gt;&lt;/script&gt;
      &lt;!-- local script --&gt;
      {{ HTML::script('js/script.js') }}
      &lt;!-- bootstrap js --&gt;
      {{ HTML::script('//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js')}}
      &lt;!-- angularJS --&gt;
      &lt;script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"&gt;&lt;/script&gt;
      &lt;!-- check browser version, if outdates, prompt for update --&gt;
      &lt;script src="//browser-update.org/update.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>I am moving this existing web application into Laravel and so am trying to implement the various Blade components.  In this case changing what was <code>&lt;script src="script.js"&gt;&lt;/script&gt;</code> to <code>{{ HTML::script('js/script.js') }}</code>.  I cannot understand why the HTML Class is not being recognised though...</p>