bedita/i18n-aws

BEdita I18n Aws plugin supporting PHP >= 8.3

Maintainers

Package info

github.com/bedita/i18n-aws

pkg:composer/bedita/i18n-aws

Statistics

Installs: 396

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2025-11-26 12:28 UTC

This package is auto-updated.

Last update: 2026-03-06 12:13:53 UTC


README

Github Actions codecov phpstan psalm Scrutinizer Code Quality image image

Installation

You can install this plugin into your application using composer.

The recommended way to install composer packages is:

composer require bedita/i18n-aws

Note: php version supported is >= 8.3.

Amazon Translate

This plugin uses AWS Translate to translate texts, via aws-sdk-php.

Usage example:

use BEdita\I18n\Aws\Core\Translator;

$translator = new Translator();
$translator->setup([
    'profile' => 'your-profile', // the AWS profile
    'region' => 'your-region', // the AWS region
]);
$result = $translator->translate(['Hello world!'], 'en', 'it');
// $result is an array, i.e ['translation' => ['Ciao mondo!']]