PHPackages                             lingualeo/wti-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lingualeo/wti-api

ActiveLibrary[API Development](/categories/api)

lingualeo/wti-api
=================

PHP Library to work with WebTranslateIt API

2.0.7(11y ago)514.5k↓33.3%3MITPHPPHP &gt;=5.5.0

Since Aug 26Pushed 10y ago22 watchersCompare

[ Source](https://github.com/LinguaLeo/wti-api)[ Packagist](https://packagist.org/packages/lingualeo/wti-api)[ RSS](/packages/lingualeo-wti-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (24)Used By (0)

PHP API for WebtranslateIt.com service
======================================

[](#php-api-for-webtranslateitcom-service)

Installation:

You can install this library using composer. Check  for instructions.

Usage:

```
$apiKey = 'YOUR_API_KEY';
$api = new WtiApi($apiKey);

// Add translator to project with proofreader rights
// https://webtranslateit.com/en/docs/api/user/#create-user
$api->addUser('email@email.com', 'ru', true);

// Add manager to project with proofreader rights
// https://webtranslateit.com/en/docs/api/user/#create-user
$api->addUser('email@email.com', 'ru', true, 'manager');

// Search strings by key in file
// https://webtranslateit.com/en/docs/api/string/#list-string
$strings = $api->getStringsByKey('someKey', 'FILE_ID');

// Get Top Translators
// https://webtranslateit.com/en/docs/api/stats/#top-translators
$topTranslators = $api->getTopTranslators();
```

All implemented methods:

```
getProjectInfo()

getProjectStatistics([$params])
getTopTranslators([$params])

addLocale($localeCode)
deleteLocale($localeCode)

getTranslation($stringId, $localeCode)
getStringsByKey($key, $fileId)
listStrings([$params, $page])
getStringId($key, $fileId)
addString($key, $value, $file[, $label, $locale, $type])
deleteString($stringId)
addTranslate($stringId, $locale, $value[, $status])
updateStringLabel($stringId, $label)

createFile($name, $filePath[, $mime])
updateFile($masterFileId, $localeCode, $name, $filePath[, $merge, $ignoreMissing, $minorChanges, $label, $mime])
createEmptyFile($filename[, $ext])
loadFile($fileId, $locale)
isMasterFileExists($masterFileId)
getFileIdByName($filename)

addUser($email, $locale, $proofread[, $role])
updateMembership($membershipId[, $params])
deleteFile($fileId)
listUsers([$params])
approveInvitation($invitationId[, $params])
removeInvitation($invitationId)
removeMembership($userId)
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 61.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Recently: every ~23 days

Total

23

Last Release

4366d ago

Major Versions

1.9.5 → 2.02014-02-12

PHP version history (2 changes)1.4PHP &gt;=5.4.0

2.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/254cf1d4fe35b98488bb7769f8873dcf93b8aa9d5462e9e41343f2a1285f3275?d=identicon)[LinguaLeo](/maintainers/LinguaLeo)

---

Top Contributors

[![alexandrfox](https://avatars.githubusercontent.com/u/199416?v=4)](https://github.com/alexandrfox "alexandrfox (30 commits)")[![HarryLyu](https://avatars.githubusercontent.com/u/275182?v=4)](https://github.com/HarryLyu "HarryLyu (14 commits)")[![vitkovskii](https://avatars.githubusercontent.com/u/2269880?v=4)](https://github.com/vitkovskii "vitkovskii (4 commits)")[![joaonice](https://avatars.githubusercontent.com/u/1272480?v=4)](https://github.com/joaonice "joaonice (1 commits)")

### Embed Badge

![Health badge](/badges/lingualeo-wti-api/health.svg)

```
[![Health](https://phpackages.com/badges/lingualeo-wti-api/health.svg)](https://phpackages.com/packages/lingualeo-wti-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
