diff --git a/yii/requirements/requirements.php b/yii/requirements/requirements.php index a703fde..125ff60 100644 --- a/yii/requirements/requirements.php +++ b/yii/requirements/requirements.php @@ -2,6 +2,8 @@ /** * This is the Yii core requirements for the [[YiiRequirementChecker]] instance. * These requirements are mandatory for any Yii application. + * + * @var $this YiiRequirementChecker */ return array( array( @@ -36,4 +38,11 @@ return array( 'by' => 'Multibyte string processing', 'memo' => 'Required for multibyte encoding string processing.' ), + array( + 'name' => 'Intl extension', + 'mandatory' => true, + 'condition' => $this->checkPhpExtensionVersion('intl', '1.0.2'), + 'by' => 'Internationalization support', + 'memo' => 'PHP Intl extension 1.0.2 or higher is required.' + ), ); \ No newline at end of file