You php do not have
intl extension. You can verify it by run
In many cases this problem appear when you have different php version/configurations for apache and cli. For example if use install MAMP on MacOsX that you will have different version. To use php in this case you need specify full path to php like
To change it you need to do folowing steps:
~/.bash_profile and add
/Applications/MAMP/bin/php/php7.x.x should be patch to your latest wersion
In Terminal, run
In Terminal, type in
which php and look for the updated patch. If everything was successful, It should output the new path to MAMP PHP install.
In case it doesn't output the correct path, try closing the terminal window (exit fully) and open again, it should apply the changes (Restart in short).