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 2022-03-16 17:26 UTC

This package is auto-updated.

Last update: 2024-10-16 23:09:52 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