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...
- How to Notifications With database Driver in Laravel 11?
- How to Send Email Via Notification in Laravel 11?
- How to Install and Configure Laravel 11 Debugbar?
- How to Like Dislike System in Laravel 11?
- How to Paginate a Model with Relationship in Laravel 11?
- Laravel 11 Upload Files to Amazon S3 Example
- Laravel 11 Send WhatsApp Messages Example
- Laravel 11 Rest API Authentication Using JWT Tutorial