title: Class 'NumberFormatter' not found in Laravel 5.4
body: <p>I'm trying to use PHP's intl extension to convert amount into words. For example, </p>
  
  <blockquote>
    <p>1450 -> One Thousand Four Hundred and Fifty</p>
  </blockquote>
  
  <p>I'm using Laravel 5.4 that runs on XAMPP 3.2.2 server with PHP 5.6.24.</p>
  
  <p>As mentioned in similar questions, I've already enabled the <code>intl</code> PHP extension by uncommenting the line as <code>extension=ext/php_intl.dll</code> in PHP.ini file and restarted my server after.</p>
  
  <pre><code> $inWords = new \NumberFormatter('en', \NumberFormatter::SPELLOUT);
   echo $inWords-&gt;format(1450);
  </code></pre>
  
  <p>yields the error:</p>
  
  <blockquote>
    <p>FatalErrorException: Class 'NumberFormatter' not found</p>
  </blockquote>
  
  <p>I'm guessing this doesn't have anything to do with Laravel but PHP. Anyone know the solution to the problem? Thanks for your time.</p>