Laravel 8 - Class 'NumberFormatter' Not Found


Share:
Published By: Admin, Published On: Nov 20, 2021, Category: Laravel 8 Laravel


Hi Dev,

I have read across the internet about this problem, and apparently you need PHP 5.3 or higher installed, and the PHP intl plugin installed. I have both of these, yet I am still receiving a Fatal error: Class 'NumberFormatter' not found error.So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

Solution 1 :

You just need to enable this extension in php.ini by uncommenting this line:

extension=ext/php_intl.dll
Solution 2 :

In this step, We need to install PHP Intl Extension for it. So let's open terminal run bellow command:

sudo apt-get install php7.4-intl

To check successful installation, run the command php -m. This should show the intl package in the list.

I hope it help you...

Share: