I've just installed the ZF2
beta5 application as per given instructions:
$ git clone git://github.com/zendframework/ZendSkeletonApplication.git ./
Cloning into '.'...
remote: Counting objects: 1494, done.
remote: Compressing objects: 100% (660/660), done.
remote: Total 1494 (delta 681), reused 1373 (delta 581)
Receiving objects: 100% (1494/1494), 397.42 KiB | 357 KiB/s, done.
Resolving deltas: 100% (681/681), done.
$ php composer.phar install
Installing dependencies
- Installing zendframework/zendframework (dev-master)
Cloning d6b0afe61149c6d0669743aab5c73285c42cd0db
zendframework/zendframework suggests installing doctrine/common (Doctrine\Common >=2.1 for annotation features)
Writing lock file
Generating autoload files
When I access the application, I get the below error:
Fatal error: Class 'Locale' not found in ./vendor/zendframework/zendframework/library/Zend/I18n/Translator/Translator.php on line 220
I haven't tried installing Doctrine
as suggested (because I don't want to use Doctrine in the end).
Does someone know how to fix this issue?