PHPackages                             transi-store/symfony-translation-provider - 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. transi-store/symfony-translation-provider

ActiveSymfony-translation-bridge[Localization &amp; i18n](/categories/localization)

transi-store/symfony-translation-provider
=========================================

Transi-Store Translation Provider Bridge for Symfony

v0.1.1(1mo ago)0363↓74.6%[1 issues](https://github.com/transi-store/symfony-translation-provider/issues)[1 PRs](https://github.com/transi-store/symfony-translation-provider/pulls)MITPHPPHP &gt;=8.4CI passing

Since Apr 21Pushed 1mo agoCompare

[ Source](https://github.com/transi-store/symfony-translation-provider)[ Packagist](https://packagist.org/packages/transi-store/symfony-translation-provider)[ Docs](https://transi-store.com)[ RSS](/packages/transi-store-symfony-translation-provider/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (11)Versions (4)Used By (0)

Transi-Store Translation Provider
=================================

[](#transi-store-translation-provider)

Provides [Transi-Store](https://transi-store.com) integration for Symfony Translation.

Installation
------------

[](#installation)

```
composer require transi-store/translation-provider
```

DSN example
-----------

[](#dsn-example)

```
# .env
TRANSI_STORE_DSN=transi-store://API_KEY@default/ORG_SLUG/PROJECT_SLUG

```

where:

- `API_KEY` is the API key generated from your Transi-Store organization settings
- `ORG_SLUG` is your Transi-Store organization slug
- `PROJECT_SLUG` is your Transi-Store project slug

The `default` host resolves to `transi-store.com`. You may replace it with a custom host if you run Transi-Store behind your own domain.

How it works
------------

[](#how-it-works)

Each Transi-Store *file* maps to a Symfony translation *domain*. The provider fetches the project metadata (`GET /api/orgs/{org}/projects/{project}`) to build this mapping from the `filePath` declared for each file (e.g. `translations/messages..yaml` ↔ domain `messages`).

Translations are exchanged using the XLIFF format.

### Supported operations

[](#supported-operations)

- **read**: downloads XLIFF translations per locale and domain.
- **write**: uploads the catalogue as XLIFF per locale and domain.
- **delete**: **not supported** — calling it raises a `RuntimeException`.

Configuration (Symfony)
-----------------------

[](#configuration-symfony)

### 1. Enable the bundle

[](#1-enable-the-bundle)

If you use Symfony Flex, the bundle is enabled automatically. Otherwise, register it manually in `config/bundles.php`:

```
// config/bundles.php
return [
    // ...
    TransiStore\TranslationProvider\TransiStoreTranslationProviderBundle::class => ['all' => true],
];
```

The bundle registers `TransiStoreProviderFactory` as a service tagged with `translation.provider_factory`, so nothing else is needed in `services.yaml`.

### 2. Declare the provider

[](#2-declare-the-provider)

```
# config/packages/translation.yaml
framework:
  translator:
    providers:
      transi_store:
        dsn: "%env(TRANSI_STORE_DSN)%"
        locales: ["en", "fr"]
        domains: ["messages"]
```

### ICU Support

[](#icu-support)

To use ICU message format, make sure your file paths include the `+intl-icu`, but before the `` placeholder, e.g. `translations/messages+intl-icu..yaml`. But in your domain, you should omit the `+intl-icu` part, e.g. `messages` AND you should add the `--intl-icu --force` option to the command. If you don't, then Symfony will not suffix the file with `+intl-icu`.

Resources
---------

[](#resources)

- [Transi-Store API documentation](https://transi-store.com/api/doc.json)
- [Symfony Translation Providers](https://symfony.com/doc/current/translation.html#installing-and-configuring-a-third-party-provider)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance91

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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 ~0 days

Total

2

Last Release

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3277986d0e1f93c7e8a58fdaf1b52e3f5a1588e73dfa298d33aafb1ebbde5ef2?d=identicon)[jdeniau](/maintainers/jdeniau)

---

Top Contributors

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

---

Tags

symfonytranslationprovidertransi-store

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/transi-store-symfony-translation-provider/health.svg)

```
[![Health](https://phpackages.com/badges/transi-store-symfony-translation-provider/health.svg)](https://phpackages.com/packages/transi-store-symfony-translation-provider)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M506](/packages/shopware-core)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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