Download the PHP package yiisoft/i18n-formatter-intl without Composer
On this page you can find all versions of the php package yiisoft/i18n-formatter-intl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yiisoft/i18n-formatter-intl
More information about yiisoft/i18n-formatter-intl
Files in yiisoft/i18n-formatter-intl
Package i18n-formatter-intl
Short Description Yii Translator intl Message Formatter
License BSD-3-Clause
Homepage https://www.yiiframework.com/
Informations about the package i18n-formatter-intl
This package is deprecated and is now part of yiisoft/translator.
❌
Yii Translator intl Message Formatter
The package provides message formatter that utilizes PHP intl extension message formatting capabilities.
Requirements
- PHP 7.4 or higher.
intl
PHP extension 1.0.2 or higher.ICU
library 49.0 or higher.
Installation
The package could be installed with composer:
Configuration
In case you use yiisoft/config
, you will get configuration automatically. If not, the following DI container configuration is necessary:
General usage
Example of usage with yiisoft/translator
Example of usage without yiisoft/translator
package
To get a list of options available for locale you're using - see https://intl.rmcreative.ru/
Testing
Unit testing
The package is tested with PHPUnit. To run tests:
Mutation testing
The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:
Static analysis
The code is statically analyzed with Psalm. To run static analysis:
License
The Yii Translator intl Message Formatter is free software. It is released under the terms of the BSD License.
Please see LICENSE
for more information.
Maintained by Yii Software.
Support the project
Follow updates
All versions of i18n-formatter-intl with dependencies
ext-intl Version >=1.0.2
lib-icu Version >=49.0
yiisoft/translator Version ^1.0