Download the PHP package yiisoft/translator-message-php without Composer
On this page you can find all versions of the php package yiisoft/translator-message-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yiisoft/translator-message-php
More information about yiisoft/translator-message-php
Files in yiisoft/translator-message-php
Package translator-message-php
Short Description Yii Translator PHP Message Storage
License BSD-3-Clause
Homepage https://www.yiiframework.com/
Informations about the package translator-message-php
Yii Translator PHP Message Storage
The package provides message storage backend based on PHP arrays to be used with yiisoft/translator
package.
Requirements
- PHP 8.0 or higher.
Installation
The package could be installed with composer:
General usage
The package is meant to be used with yiisoft/translator
:
The examples below are about using it separately.
Create an instance of message source
Read a message without yiisoft/translator
package
Write an array of messages to storage
The following structure will be created after writing:
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 PHP Message Storage is free software. It is released under the terms of the BSD License. Please see LICENSE
for more information.
Maintained by Yii Software.