PHPackages                             salmanbe/deepl - 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. salmanbe/deepl

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

salmanbe/deepl
==============

Laravel library to import translations from Deepl Api

v1.0(2y ago)263MITPHPPHP &gt;=5.6

Since Aug 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/salmanbe/deepl)[ Packagist](https://packagist.org/packages/salmanbe/deepl)[ RSS](/packages/salmanbe-deepl/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Laravel Deepl
=============

[](#laravel-deepl)

This is an easy to use laravel library to import translations from Deepl Api. You must go to [www.deepl.com](https://www.deepl.com) to register and acquire an API key to use with this library. Please note that neither this laravel library is made on behalf of deepl nor developer is acting on behalf of deepl. There is no corporation between Deepl and this library. Deepl is not responsible for this library. Deepl API credit goes to deepl.

Video Tutorial
--------------

[](#video-tutorial)

[![Laravel Deepl](https://camo.githubusercontent.com/b069e71ed0949d959c9e3dc3440900aff3104567a622f0c86706d8700d5dcb3a/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f6c6a6f4676674353326f672f302e6a7067)](https://www.youtube.com/watch?v=ljoFvgCS2og)

Laravel Installation
--------------------

[](#laravel-installation)

Install using composer:

```
composer require salmanbe/deepl
```

There is a service provider included for integration with the Laravel framework. This service should automatically be registered else to register the service provider, add the following to the providers array in `config/app.php`:

```
Salmanbe\Deepl\DeeplServiceProvider::class,
```

You can also add it as a Facade in `config/app.php`:

```
'Deepl' => Salmanbe\Deepl\Deepl::class,
```

Add 2 lines to config/app.php

```
'deepl_url' => env('DEEPL_URL', ''),
'deepl_key' => env('DEEPL_KEY', ''),
```

Add 2 lines to .env

```
DEEPL_URL=https://api-free.deepl.com/v2/translate  // https://api.deepl.com/v2/translate for pro
DEEPL_KEY=your_deepl_api_key                       // Get api key from www.deepl.com
```

Basic Usage
-----------

[](#basic-usage)

Add `use Salmanbe\Deepl\Deepl;` or `use Deepl;` at top of the class where you want to use it. Then create class instance.

```
$deepl = new Deepl();
```

Set text, target and source language. source language is optional.

```
$deepl->get($text, $target_lang, $source_lang);
$deepl->get('Welcome', 'fr', 'en');
```

Uninstall
---------

[](#uninstall)

First remove `Salmanbe\Deepl\DeeplServiceProvider::class,` and `'Deepl' => Salmanbe\Deepl\Deepl::class,` from `config/app.php` if it was added. Then Run `composer remove salmanbe/deepl`

License
-------

[](#license)

This library is licensed under THE MIT License. Please see [License File](https://github.com/salmanbe/deepl/blob/master/LICENSE) for more information.

Security contact information
----------------------------

[](#security-contact-information)

To report a security vulnerability, follow [these steps](https://tidelift.com/security).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1056d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10696759?v=4)[Salman Javaid](/maintainers/salmanbe)[@salmanbe](https://github.com/salmanbe)

---

Top Contributors

[![salmanbe](https://avatars.githubusercontent.com/u/10696759?v=4)](https://github.com/salmanbe "salmanbe (15 commits)")

---

Tags

deepllaravelphptranslationtranslatetranslationdeepl

### Embed Badge

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

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

###  Alternatives

[om/potrans

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

10520.2k9](/packages/om-potrans)[whitecube/lingua

A PHP language codes converter, from and to the most common formats (ISO, W3C, PHP and human-readable names).

441.2M23](/packages/whitecube-lingua)[boxblinkracer/phpunuhi

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

83260.1k26](/packages/boxblinkracer-phpunuhi)[web-vision/wv_deepltranslate

DeepL Translate (CORE) - This extension provides option to translate content element, and TCA record texts to DeepL supported languages.

33304.3k](/packages/web-vision-wv-deepltranslate)[skillshare/formatphp

Internationalize PHP apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.

8032.4k](/packages/skillshare-formatphp)[web-vision/deepltranslate-core

DeepL Translate (CORE) - This extension provides option to translate content element, and TCA record texts to DeepL supported languages.

33142.5k8](/packages/web-vision-deepltranslate-core)

PHPackages © 2026

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