PHPackages                             mlo/babl - 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. mlo/babl

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

mlo/babl
========

Toolkit for working with translations in Symfony

v0.4.0(10y ago)017[2 issues](https://github.com/mloberg/Babl/issues)MITPHP

Since Sep 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mloberg/Babl)[ Packagist](https://packagist.org/packages/mlo/babl)[ RSS](/packages/mlo-babl/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Babl
====

[](#babl)

[![Latest Stable Version](https://camo.githubusercontent.com/87e89060c075cc9c5a577f99e5eff292245fdc0585bc67ecac70474ef8f82860/68747470733a2f2f706f7365722e707567782e6f72672f6d6c6f2f6261626c2f762f737461626c65)](https://packagist.org/packages/mlo/babl)[![License](https://camo.githubusercontent.com/e9f28b0cd0b51a7b1422690408bc1ec05bb10630daddbf5fe11372a2ee88f371/68747470733a2f2f706f7365722e707567782e6f72672f6d6c6f2f6261626c2f6c6963656e7365)](https://packagist.org/packages/mlo/babl)[![Build Status](https://camo.githubusercontent.com/a2e3ef1e031710ca7bdac9188a7d47a9b1130387270145d5cd0cf0903866f030/68747470733a2f2f7472617669732d63692e6f72672f6d6c6f626572672f4261626c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mloberg/Babl)[![Coverage Status](https://camo.githubusercontent.com/24b86e042ebde9ecf23fb8c39eea9240b58add761356639e8122e6ae076ec52c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d6c6f626572672f4261626c2f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/mloberg/Babl?branch=master)

Toolkit for working with translation files in Symfony.

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

[](#requirements)

- PHP &gt;= 5.4

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

[](#installation)

There are a couple ways you can install Babl.

### As a Phar (Recommended)

[](#as-a-phar-recommended)

```
$ curl http://mloberg.github.io/Babl/installer.php | php

```

This will place a `babl.phar` file in your current directory. From there you can move it someplace easier to access (`/usr/local/bin`) and rename it to just `babl`.

### Globally Through Composer

[](#globally-through-composer)

If you already have tools installed globally through composer, this is probably the best way to go.

```
$ composer global require mlo/babl --prefer-source

```

### As a Composer Dependency

[](#as-a-composer-dependency)

You can also install Babl through composer so it's always available in your project.

```
$ composer require --dev mlo/babl

```

Usage
-----

[](#usage)

To see the current version of Babl

```
$ babl --version

```

To convert translation files between different formats, use the `convert`command. For example if you have `messages.en.yml`, but want an XLIFF.

```
$ babl convert app/Resources/translations/messages.en.yml xliff

```

The default format is `xliff`, but there is also `yml` and `php`.

If you want to add a translation entry to a file, use the `add` command.

```
$ babl add app/Resources/translations/messages.en.yml greeting "Hello World!"

```

You can merge multiple translation files together. If the `--target` option is not set, it will use the first file.

```
$ babl merge --target translations.en.xliff messges.en.yml validator.en.xliff emails.en.php

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

5

Last Release

3792d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b7bb02bd7aebd8ca0d722ceb4162a00dc9b0e523ce9b5eb7b88d8fef6bff43f?d=identicon)[mloberg](/maintainers/mloberg)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mlo-babl/health.svg)

```
[![Health](https://phpackages.com/badges/mlo-babl/health.svg)](https://phpackages.com/packages/mlo-babl)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)

PHPackages © 2026

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