25-May-2023
.
Admin
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 an Error: Class 'NumberFormatter' not found error. So Here I am Explaining to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
Download Laravel
Let us begin the tutorial by installing a new laravel application. if you have already created the project, then skip the following step.
composer create-project laravel/laravel example-app
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 bellow 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.
I hope it helps you...
#Laravel 10