In this article, we will see laravel 8 class 'numberformatter' not found. For numberformatter we need PHP 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0 and I have PHP 7 and intl still face numberformatter not found in laravel. class numberformatter not found in laravel 8 or class numberformatter not found in PHP just follow simple two solutions.
Let's see how to fix the laravel 8 class numberformatter not found.
You just need to enable this extension in php.ini by uncommenting this line.
In this step, we need to install PHP Intl Extension for it. So, let's open the terminal and run the below command.
sudo apt-get install php7.4-intl
To check the successful installation, run the command php -m. This should show the intl package in the list.