Laravel 8 - Class 'NumberFormatter' Not Found

Laravel 8 , Laravel 7 , Laravel , Laravel 6

Nicesnippets

907

20-11-2021


Laravel 8 - Class 'NumberFormatter' Not Found

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 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...


Recommended Posts