justraviga / laravel-deepl
Deepl Automated translations for Laravel lang files
Installs: 3 540
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.4|^8.0
- chriskonnertz/deeply: ^2.0
- guzzlehttp/guzzle: 7.*|^6.5
- illuminate/support: ^8.0|^9.0
- justraviga/laravel-langman: ^0.1
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: 7.*
- phpunit/phpunit: ^9.0
README
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