Laravel 9 - Class 'NumberFormatter' Not Found
Apr 15, 2022 . Admin
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.dllSolution 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...