PHPackages                             tinyapps/deepl-client - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. tinyapps/deepl-client

ActiveLibrary[Localization &amp; i18n](/categories/localization)

tinyapps/deepl-client
=====================

Simple PHP client for the DeepL translation API.

v1.0.3(4y ago)42721MITPHPPHP ^7.4 || ^8.0

Since Mar 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tinyappsde/deepl-client)[ Packagist](https://packagist.org/packages/tinyapps/deepl-client)[ RSS](/packages/tinyapps-deepl-client/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

DeepL Client
============

[](#deepl-client)

Simple PHP DeepL API client that supports PHP 8.

Installation
------------

[](#installation)

`composer require tinyapps/deepl-client`

Usage
-----

[](#usage)

```
use TinyApps\DeepL\Translator;
use TinyApps\DeepL\Options;
use TinyApps\DeepL\TargetLanguage;

$translator = new Translator('your_api_key');
$result = $translator->translate(
	text: 'Hello World',
	source: null, // let's DeepL auto-detect the source language
	target: TargetLanguage::GERMAN,
	preserveFormatting: false,
	splitSentences: Options::SPLIT_SENTENCES_DEFAULT,
	formality: Options::FORMALITY_DEFAULT,
);

$result->getText(); // translated text
$result->getDetectedSourceLanguage(); // EN
```

Unit Test
---------

[](#unit-test)

Run `DEEPL_AUTH_KEY=[your key] composer test`

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~133 days

Total

4

Last Release

1525d ago

PHP version history (2 changes)v1.0.0PHP ^7.4.0 || ^8.0

v1.0.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d336febdd158d77223e27dba8185214bba902c1797a950f16cb5cdcdeaf97e2e?d=identicon)[dioncodes](/maintainers/dioncodes)

---

Top Contributors

[![dioncodes](https://avatars.githubusercontent.com/u/1241360?v=4)](https://github.com/dioncodes "dioncodes (7 commits)")[![kloostermanw](https://avatars.githubusercontent.com/u/50216197?v=4)](https://github.com/kloostermanw "kloostermanw (1 commits)")

---

Tags

translationtranslatordeepl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tinyapps-deepl-client/health.svg)

```
[![Health](https://phpackages.com/badges/tinyapps-deepl-client/health.svg)](https://phpackages.com/packages/tinyapps-deepl-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[om/potrans

Command line tool for translate Gettext with Google Translator API or DeepL API

10520.2k9](/packages/om-potrans)[tio/laravel

Add this package to localize your Laravel application (PHP, JSON or GetText).

170341.2k](/packages/tio-laravel)[boxblinkracer/phpunuhi

Easy tool to work with translation files for validation, exports, imports and more.

83260.1k26](/packages/boxblinkracer-phpunuhi)

PHPackages © 2026

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