title: PHP -> NumberFormatter not working
body: <p>I have php file test.php:</p>
  
  <p>
  
  <pre><code>use App\Classes\test_class;
  
  $xml = new DOMDocument( "1.0", "ISO-8859-15" );
  echo 'DOMDocument-ok&lt;br/&gt;';
  
  $formatter = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
  echo 'NumberFormatter-ok&lt;br/&gt;';
  new test_class();
  </code></pre>
  
  <p>And test_class.php:</p>
  
  <p>
  
  <pre><code>class test_class{
  
      public function __construct()
      {
          $xml = new \DOMDocument( "1.0", "ISO-8859-15" );
          echo 'DOMDocument-ok&lt;br/&gt;';
  
          $formatter = new \NumberFormatter('en_US', \NumberFormatter::DECIMAL);
          echo 'NumberFormatter-ok&lt;br/&gt;';
      }
  
  }
  </code></pre>
  
  <p>When I run this code output is:</p>
  
  <pre><code>DOMDocument-ok
  NumberFormatter-ok
  DOMDocument-ok
  NumberFormatter-ok
  </code></pre>
  
  <p>But in plugin "sebastian/money" when I use plugin I get this error 
  "Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
  HELP
  Class 'NumberFormatter' not found"</p>
  
  <p>For code:</p>
  
  <pre><code>&lt;?php
  namespace SebastianBergmann\Money;
  
  use NumberFormatter;
  
  class IntlFormatter implements Formatter
  {
      private $numberFormatter;
      public function __construct($locale)
      {
          $this-&gt;numberFormatter = new NumberFormatter(
              $locale,
              NumberFormatter::CURRENCY
          );
      }
  </code></pre>
  
  <p>For line :</p>
  
  <pre><code>$this-&gt;numberFormatter = new NumberFormatter(
              $locale,
              NumberFormatter::CURRENCY
          );
  </code></pre>
  
  <p>EDITED:</p>
  
  <p>Apparently NumberFormatter not working inside all Laravel app, but I don't know why, can someone help?</p>