PHPackages                             form-synergy/localize-fallback - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. form-synergy/localize-fallback

ActiveLibrary[Localization &amp; i18n](/categories/localization)

form-synergy/localize-fallback
==============================

This script will download and localize all modules within a strategy. If the connection between the API and FS service is broken, the javaScript client will re-rout simple interactions locally.

04PHP

Since Apr 7Pushed 7y agoCompare

[ Source](https://github.com/form-synergy/localize-fallback)[ Packagist](https://packagist.org/packages/form-synergy/localize-fallback)[ RSS](/packages/form-synergy-localize-fallback/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Localize Fallback
=================

[](#localize-fallback)

This script will download and localize all modules within a strategy. If the connection between the API and FS service is broken, the javaScript client will re-rout simple interactions locally.

Install using composer
----------------------

[](#install-using-composer)

```
composer require form-synergy/custom-module
```

Include the library
-------------------

[](#include-the-library)

```
require '/vendor/autoload.php';
```

Enable session management
-------------------------

[](#enable-session-management)

```
\FormSynergy\Session::enable();
```

Import the Form Synergy class
-----------------------------

[](#import-the-form-synergy-class)

```
use \FormSynergy\Fs as FS;
```

You will need to retrieve your credentials in the Form Synergy console.

Console Access:

- $profileid = '';
- $apikey = '';
- $apisecret = '';

If you are a reseller

- $resellerid = '';

Configuration
-------------

[](#configuration)

```
FS::Config([
    'version' => 'v1',
    'protocol' => 'https',
    'endpoint' => 'api.formsynergy.com',
    'apikey' => $apikey,
    'secretkey' => $secretkey,
     //'resellerid' => $resellerid,  If you are a reseller
    'max_auth_count' => 15,
]);
```

local storage
-------------

[](#local-storage)

Enable local storage to store downloads and responses.

```
FS::Storage( '/', 'local-storage' );
```

Load account
------------

[](#load-account)

Load and start managing an account.

```
$api = FS::Api()->Load($profileid);
```

Run script
----------

[](#run-script)

Update modid, the unique identifier of the strategy.

```
\FormSynergy\Localize_Fallback::Run([
    'modid' => '',
])
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/669937?v=4)[Joe](/maintainers/joeker)[@joeker](https://github.com/joeker)

---

Top Contributors

[![form-synergy](https://avatars.githubusercontent.com/u/47343602?v=4)](https://github.com/form-synergy "form-synergy (3 commits)")

### Embed Badge

![Health badge](/badges/form-synergy-localize-fallback/health.svg)

```
[![Health](https://phpackages.com/badges/form-synergy-localize-fallback/health.svg)](https://phpackages.com/packages/form-synergy-localize-fallback)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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