PHPackages                             swiftyper/fbt-sync - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. swiftyper/fbt-sync

ActiveLibrary[Framework](/categories/framework)

swiftyper/fbt-sync
==================

Extension for automatic deployment of fbt framework translations for PHP

1.0.2(1y ago)0198MITPHPPHP ^7.0 || ^8.0

Since Jun 5Pushed 1y agoCompare

[ Source](https://github.com/swiftyper-sk/fbt-sync)[ Packagist](https://packagist.org/packages/swiftyper/fbt-sync)[ Docs](https://translations.swiftyper.sk/)[ RSS](/packages/swiftyper-fbt-sync/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

 [![FBT](icon.png)](icon.png)
=============================

[](#--)

FBT sync
========

[](#fbt-sync)

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

[Get started with Swiftyper Translations](https://translations.swiftyper.sk)

Requirements
------------

[](#requirements)

- PHP 7.0 or higher

📦 Installing
------------

[](#-installing)

```
$ composer require swiftyper/fbt-sync
```

🔧 Configuration
---------------

[](#-configuration)

These steps are required:

1. Register your FBT project on [Swiftyper Translations](https://translations.swiftyper.sk)
2. Create config file and adjust the values accordingly for file `swiftyper_config.php`:

    ```
    $ php ./vendor/bin/swiftyper fbt --config
    ```
3. Init project settings:

    ```
    $ php ./vendor/bin/swiftyper fbt --init
    ```
4. *\[OPTIONAL\]* If you want to use automatic import &amp; deploy:

    - Create this 3 POST endpoints:

        ```
        $swiftyper = new \Swiftyper\fbt\SwiftyperIntlRouter();

        // yourdomain.com/intl/sync:
        $swiftyper->sync();

        // yourdomain.com/intl/deploy:
        $swiftyper->deploy();

        // yourdomain.com/intl/upload:
        $swiftyper->upload();
        ```

### Options

[](#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 &amp; source strings
        - **hash\_module** `string`: Hash module
        - **md5\_digest** `string`: MD5 digest

🚀 Command
---------

[](#-command)

```
php ./vendor/bin/swiftyper
```

### Options

[](#options-1)

OptionDescription--deployDeploy reviewed app translations--upload=\[path\]Upload phrases/translations to swiftyper--initConnect fbt project with swiftyper--configCreates `swiftyper_config.php` in your project root--prettyPretty print output📜 License
---------

[](#-license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~441 days

Total

3

Last Release

552d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dd2a282ad197d4dc306ad1fc38c4873f3763f91cbe099b0af74e3dc4cac558a?d=identicon)[swiftyper](/maintainers/swiftyper)

---

Top Contributors

[![richardDobron](https://avatars.githubusercontent.com/u/33115305?v=4)](https://github.com/richardDobron "richardDobron (4 commits)")

---

Tags

internationalizationsynchronizationtranslationsphpcliframeworkinternationalizationi18ntranslationsdeploysync

### Embed Badge

![Health badge](/badges/swiftyper-fbt-sync/health.svg)

```
[![Health](https://phpackages.com/badges/swiftyper-fbt-sync/health.svg)](https://phpackages.com/packages/swiftyper-fbt-sync)
```

###  Alternatives

[richarddobron/fbt

An Internationalization Framework for PHP.

1512.0k2](/packages/richarddobron-fbt)[laravel-lang/common

Easily connect the necessary language packs to the application

1463.1M21](/packages/laravel-lang-common)[richarddobron/laravel-fbt

A PHP Internationalization Framework for Laravel Application.

125.7k](/packages/richarddobron-laravel-fbt)[utopia-php/cli

A simple CLI library to manage command line applications

41396.4k10](/packages/utopia-php-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
