Registry / utility / deeplcom-deepl-php

deeplcom-deepl-php

JSON →
library1.18.0phppackagistunverified

Official DeepL API Client Library

composer require deeplcom/deepl-php
INSTALL
IMPORT
SIG · DEEPLCOM-DEEPL-PHP
D
deeplcom-deepl-php
utilityphpv1.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Translator
use DeepL\Translator;

Translate text using DeepL API

use DeepL\Translator; $translator = new Translator('your-auth-key'); $result = $translator->translateText('Hello, world!', 'en', 'de'); echo $result->text;
Debug
Known issues
gotchaRequires PHP 7.2+ and the ext-json extension.
fix
Ensure PHP version is 7.2+ and json extension is enabled.
affects: >=1.0.0
Upgrade
Version history
1.18.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
deeplcom-deepl-php — pip install deeplcom-deepl-php · libregistry