Today I faced the same problem. You need to enable the PHP intl extension in your PHP configuration ( .ini ).
Xampp Solution (Windows)
- Open
/xampp/php/php.ini - Change
;extension=php_intl.dll to extension=php_intl.dll (remove the semicolon) - Copy all the
/xamp/php/ic*.dll files to /xampp/apache/bin - Restart apache in Xampp Control Panel
Linux solution (thanks to Annamalai Somasundaram)
Install extension php5-intl sudo apt-get install php5-intl
1.1. Alternatively, use sudo yum install php5-intl if you are on CentOS or Fedora.
Restart apache sudo service apache2 restart
Mac / OSX solution (homebrew) (thanks deizel)
- Install extension php5-intl
brew install php56-intl - If you get
No available formula for php56-intl , follow these instructions. - Restart apache
sudo apachectl restart
In the end, you can run composer install to see if it works.
Tijme source share