hlacos/deepl-api-translator

There is no license information available for the latest version (dev-main) of this package.

Deepl API extension for tanmuhittin/laravel-google-translate

dev-main 2024-11-20 13:53 UTC

This package is auto-updated.

Last update: 2024-12-20 14:05:15 UTC


README

Deepl API extension for tanmuhittin/laravel-google-translate

This package not includes tanmuhittin/laravel-google-translate package as dependency.

Installation

It supposed to the main package is installed and configured properly.

Run composer install

composer require hlacos/deepl-api-translator

Configure DeeplApiTranslator alias

Add following Alias to config/app.php

'DeeplFreeApiTranslator' => Hlacos\DeeplApiTranslator\DeeplFreeApiTranslator::class 'DeeplProApiTranslator' => Hlacos\DeeplApiTranslator\DeeplProApiTranslator::class

Configure Laravel google translate

Set up the following keys in config/laravel_google_translate.php file:

  • custom_api_translator key to
    • 'DeeplFreeApiTranslator' or
    • 'DeeplProApiTranslator'
  • custom_api_translator_key