Skip to content

FriendsOfApi/phraseapp

Repository files navigation

PhraseApp API client

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.