承接 swiftyper/laravel-fbt-sync 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

swiftyper/laravel-fbt-sync

最新稳定版本:1.0.3

Composer 安装命令:

composer require swiftyper/laravel-fbt-sync

包简介

Extension for automatic deployment of fbt framework translations for Laravel

README 文档

README

FBT

Laravel FBT sync

This library allows you to import native phrases and automatically deploy reviewed translations.

Get started with Swiftyper Translations

Requirements

📦 Installing

$ composer require swiftyper/laravel-fbt-sync

🔧 Configuration

These steps are required:

  1. Register your FBT project on Swiftyper Translations

  2. Publish config file:

$ php artisan vendor:publish --provider="Swiftyper\fbt\IntlServiceProvider" --tag=swiftyper-config
  1. Set option api_key in /config/fbt.php.

  2. Init project settings:

$ php artisan swiftyper:fbt --init

Options

The following options can be defined:

  • api_key string: Project API key (required)
  • routes bool: Enable routes: /intl/deploy, /intl/upload, /intl/sync
  • verify_signature bool: Verify signature from response

🚀 Artisan Command

php artisan swiftyper:fbt

Options

Option Description
--deploy Deploy reviewed app translations
--upload Upload phrases/translations to swiftyper (from default storage)
--upload=[path] Upload phrases/translations to swiftyper
--init Connect fbt project with swiftyper
--pretty Pretty print output (default: true)

📜 License

The MIT License (MIT). Please see LICENSE for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-03-17