1
我試圖實現CurrencyFormat助手,但是當我實例和對象CurrencyFormat的應用提高了exeption:無法使用的Zend 的I18n 查看助手 CurrencyFormat類
$var new CurrencyFormat();
File:
/site/vendor/zendframework/zend-i18n/Zend/I18n/View/Helper/CurrencyFormat.php :63
Message:
Zend\I18n\View\Helper component requires the intl PHP extension
在我控制器我包括庫
use Zend\I18n\View\Helper\CurrencyFormat;
我想我需要添加一些東西在composer.json或配置文件?
謝謝!