justraviga/laravel-deepl
Laravel DeepL Translator
Provides access to DeepL API for Laravel projects
Table of contents
Installation
To get the latest version of Laravel DeepL, simply require the project using Composer:
$ composer require justraviga/laravel-deepl
Or manually update require block of composer.json and run composer update.
{
"require": {
"justraviga/laravel-deepl": "^0.1"
}
}
Using
Translate single string
use JustRaviga\Deepl\Facades\Deepl;
$translated = Deepl::api()->translate('Hello world!', 'EN', 'DE');
Create/Update lang files for specific language. It allows to complete all missing translations for specific language.
php artisan deepl:sync de
Related Packages
[fork] The package provides possibility to translate your Eloquent models into d...
Scan your Laravel app (views, Livewire components, services and laravel-modules)...
The project contains native translations of locale names
Translations manager and checker for Laravel based on 'Laravel-Lang/lang' packag...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.3 | ^7.4| | ^8.0| | MIT | |
| 0.1.2 | ^7.4| | ^8.0| | MIT | |
| 0.1.1 | ^7.4| | ^8.0| | MIT | |
| 0.1 | ^7.4| | ^8.0| | MIT |