justraviga/laravel-deepl 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

justraviga/laravel-deepl

最新稳定版本:0.1.3

Composer 安装命令:

composer require justraviga/laravel-deepl

包简介

Deepl Automated translations for Laravel lang files

README 文档

README

Provides access to DeepL API for Laravel projects

Stable Version Unstable Version Total Downloads License

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

统计信息

  • 总下载量: 5.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-25