PHPackages                             mouf/utils.i18n.fine.db-translator - 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. mouf/utils.i18n.fine.db-translator

ActiveMouf-library[Localization &amp; i18n](/categories/localization)

mouf/utils.i18n.fine.db-translator
==================================

Fine is a PHP internationalisation package. It will help you provide applications that support several languages. FINE means: Fine is not english :). This package provides a DB mapper that stores translations in database.

4.0.x-dev(9y ago)03.7kMITPHPPHP &gt;=5.4.0

Since Jul 8Pushed 9y ago13 watchersCompare

[ Source](https://github.com/thecodingmachine/utils.i18n.fine.db-translator)[ Packagist](https://packagist.org/packages/mouf/utils.i18n.fine.db-translator)[ Docs](https://github.com/thecodingmachine/utils.i18n.fine.db-translator)[ RSS](/packages/mouf-utilsi18nfinedb-translator/feed)WikiDiscussions 4.0 Synced yesterday

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

FINE: database storage for translations
=======================================

[](#fine-database-storage-for-translations)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f14efba84c95b7476e77aba3dfe9b63fa1573eee5c21f4d95080f32319f6b72c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746865636f64696e676d616368696e652f7574696c732e6931386e2e66696e652e64622d7472616e736c61746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d342e30)](https://scrutinizer-ci.com/g/thecodingmachine/utils.i18n.fine.db-translator/?branch=4.0)[![Code Coverage](https://camo.githubusercontent.com/a7b070623a269c4fdd2d7fbdf789ce62f690e41221b62bc96658d46085b0a316/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746865636f64696e676d616368696e652f7574696c732e6931386e2e66696e652e64622d7472616e736c61746f722f6261646765732f636f7665726167652e706e673f623d342e30)](https://scrutinizer-ci.com/g/thecodingmachine/utils.i18n.fine.db-translator/?branch=4.0)

Fine is Mouf's PHP internationalisation package. It will help you develop applications that support several languages.

Most of the time, you will use Fine with the FileTranslator that stores translations in PHP mapping files. This package contains one *alternative translator* that stores translations in database rather than in files.

Why?
----

[](#why)

Use this **DbTranslator** if you want to make translations editable by your users. You can then directly write the translations in the `message_translations` table that is created by this package.

Dependencies
------------

[](#dependencies)

Fine comes as a *Composer* package and requires the "Mouf" framework to run. The first step is therefore to [install Mouf](http://www.mouf-php.com/).

Once Mouf is installed, you can process to the Fine and DbTranslator installation.

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

[](#installation)

A typical *composer.json* file might look like this:

```
	{
	    "require": {
			"mouf/mouf" : "~2.0.0",
			"mouf/utils.i18n.fine.common" : "~4.0",
	    	"mouf/utils.i18n.fine.db-translator" : "~4.0",
	  		"mouf/utils.i18n.fine.manage.bo" : "~4.0"
	    },
	    "minimum-stability": "dev"
	}
```

*mouf/utils.i18n.fine.db-translator* refers to this package and *mouf/utils.i18n.fine.manage.bo* is package that contains the user interface in Mouf to view/edit translations.

To install the dependency, run:

```
composer update
```

Now, go to the Mouf UI (http://\[your\_server\]/\[your\_app\]/vendor/mouf/mouf) and process to the package installation by clicking the "Run installation tasks" button.

You can now edit your translations directly using the "HTML &gt; Fine" menu.

Behind the scenes, the Mouf installer has created a `dbTranslatorService` instance and binded it to the `defaultTranslatorService`. You can keep using Fine is you would usually do (using the `defaultTranslatorService`) and the `dbTranslatorService`will automatically be called.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

3644d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

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

---

Tags

i18nmoufinternationalisationfine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mouf-utilsi18nfinedb-translator/health.svg)

```
[![Health](https://phpackages.com/badges/mouf-utilsi18nfinedb-translator/health.svg)](https://phpackages.com/packages/mouf-utilsi18nfinedb-translator)
```

###  Alternatives

[symfony/string

Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way

1.8k759.1M1.2k](/packages/symfony-string)[symfony/intl

Provides access to the localization data of the ICU library

2.6k208.8M1.3k](/packages/symfony-intl)[gettext/gettext

PHP gettext manager

70231.8M115](/packages/gettext-gettext)[tractorcow/silverstripe-fluent

Simple localisation for Silverstripe

90432.1k28](/packages/tractorcow-silverstripe-fluent)[gettext/languages

gettext languages with plural rules

7532.0M12](/packages/gettext-languages)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)

PHPackages © 2026

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