env('TRANSLATE_SERVICE', 'yandex'), 'services' => [ 'yandex' => [ 'driver' => '\KorElf\TranslateLaravel\Translate\YandexDriver', 'config' => [ 'folder_id' => env('TRANSLATE_YANDEX_FOLDER_ID'), 'authorized_key_path' => base_path(env('TRANSLATE_YANDEX_AUTHORIZED_KEY_PATH')), 'limit' => [ 'max_request' => (int) env('TRANSLATE_YANDEX_LIMIT_MAX_REQUEST', 20), 'rate_seconds' => (int) env('TRANSLATE_YANDEX_LIMIT_RATE_SECONDS', 1), 'max_symbols' => (int) env('TRANSLATE_YANDEX_LIMIT_MAX_SYMBOLS', 9000), ], ], ], 'log' => [ 'driver' => '\KorElf\TranslateLaravel\Translate\LogDriver', 'config' => [ 'limit' => [ 'max_request' => (int) env('TRANSLATE_LOG_LIMIT_MAX_REQUEST', 20), 'rate_seconds' => (int) env('TRANSLATE_LOG_LIMIT_RATE_SECONDS', 1), 'max_symbols' => (int) env('TRANSLATE_LOG_LIMIT_MAX_SYMBOLS', 9000), ], ], ], ], ];