PHP code example of justraviga / laravel-deepl
1. Go to this page and download the library: Download justraviga/laravel-deepl library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
justraviga / laravel-deepl example snippets
use JustRaviga\Deepl\Facades\Deepl;
$translated = Deepl::api()->translate('Hello world!', 'EN', 'DE');
shell
php artisan deepl:sync de