Download the PHP package swiftyper/fbt-sync without Composer
On this page you can find all versions of the php package swiftyper/fbt-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swiftyper/fbt-sync
More information about swiftyper/fbt-sync
Files in swiftyper/fbt-sync
Package fbt-sync
Short Description Extension for automatic deployment of fbt framework translations for PHP
License MIT
Homepage https://translations.swiftyper.sk/
Informations about the package fbt-sync
FBT sync
This library allows you to import native phrases and automatically deploy reviewed translations.
Get started with Swiftyper Translations
Requirements
- PHP 7.0 or higher
📦 Installing
🔧 Configuration
These steps are required:
-
Register your FBT project on Swiftyper Translations
-
Create config file and adjust the values accordingly for file
swiftyper_config.php
: -
Init project settings:
- [OPTIONAL] If you want to use automatic import & deploy:
- Create this 3 POST endpoints:
Options
A swiftyper_config.php
file will be stored in your project root. Edit the contents of this file and adjust the values accordingly.
You need to provide a valid Swiftyper api_token value:
- api_key
string
: Project API key (required) - verify_signature
bool
: Verify signature from response- fbt:
- path
string
: Cache storage path for generated translations & source strings - hash_module
string
: Hash module - md5_digest
string
: MD5 digest
🚀 Command
Options
Option | Description |
---|---|
--deploy | Deploy reviewed app translations |
--upload=[path] | Upload phrases/translations to swiftyper |
--init | Connect fbt project with swiftyper |
--config | Creates swiftyper_config.php in your project root |
--pretty | Pretty print output |
📜 License
The MIT License (MIT). Please see LICENSE for more information.
All versions of fbt-sync with dependencies
ext-json Version *
minicli/minicli Version 1.0.4|^2.0
swiftyper/swiftyper-php Version ^v1.0.1
richarddobron/fbt Version ^3.0|^4.0