Laravel 8 Class NumberFormatter Not Found

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.

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

 


You might also like:

techsolutionstuff

Techsolutionstuff | The Complete Guide

I'm a software engineer and the founder of techsolutionstuff.com. Hailing from India, I craft articles, tutorials, tricks, and tips to aid developers. Explore Laravel, PHP, MySQL, jQuery, Bootstrap, Node.js, Vue.js, and AngularJS in our tech stack.

RECOMMENDED POSTS

FEATURE POSTS