friendsofapi/phraseapp

A community API client for phraseapp.com translation service

v0.3.1 2017-05-21 18:53 UTC

This package is auto-updated.

Last update: 2024-03-15 09:24:06 UTC


README

Latest Version Build Status Code Coverage Quality Score Total Downloads

A community client for PhraseApp.

Install

Via Composer

$ composer require friendsofapi/phraseapp

Usage

$apiClient = new PhraseAppClient();

$response = $apiClient->import()->import($projectId, 'symfony_xliff', $fileName, [
    'locale_id' => $localeId,
    'tags' => $domain,
]);

$response = $this->client->export()->locale($projectId, $localeId, 'symfony_xliff', [
    'tag' => $domain
]);

License

The MIT License (MIT). Please see License File for more information.

Contribute

Do you want to make a change? Pull requests are welcome.