PHPackages                             ellipsesynergie/locale-to-yaml - 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. ellipsesynergie/locale-to-yaml

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

ellipsesynergie/locale-to-yaml
==============================

010PHP

Since Oct 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ellipsesynergie/locale-to-yaml)[ Packagist](https://packagist.org/packages/ellipsesynergie/locale-to-yaml)[ RSS](/packages/ellipsesynergie-locale-to-yaml/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Locale to Yaml
==============

[](#locale-to-yaml)

[![Latest Version on Packagist](https://camo.githubusercontent.com/788eaa4019db627ba971529c51f6e04c19f078b92f18d85677389dc74567316b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c6c6970736573796e65726769652f6c6f63616c652d746f2d79616d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ellipsesynergie/locale-to-yaml)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ad196e1f2897c18944443d7df5a6f7a4c21de921baf350cab238c278b8da30a0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f656c6c6970736573796e65726769652f6c6f63616c652d746f2d79616d6c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ellipsesynergie/locale-to-yaml)[![Coverage Status](https://camo.githubusercontent.com/e8d4a9262a50223aa5ab3c6c988797ab5b155524abc01785b024f9de9e724939/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f656c6c6970736573796e65726769652f6c6f63616c652d746f2d79616d6c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ellipsesynergie/locale-to-yaml/code-structure)[![Quality Score](https://camo.githubusercontent.com/affeebfc919fba8d1b9522faa03738b9aac8e1b18181e34adcc66a936e8df864/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f656c6c6970736573796e65726769652f6c6f63616c652d746f2d79616d6c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ellipsesynergie/locale-to-yaml)[![Total Downloads](https://camo.githubusercontent.com/78de75917cc8b37c50d3a7537aeef598501862315bdb6876872a3bce512bbbf4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c6c6970736573796e65726769652f6c6f63616c652d746f2d79616d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ellipsesynergie/locale-to-yaml)

This package provides artisan commands to export language files from PHP to Yaml. Then, import it back to PHP.

Install
-------

[](#install)

Via Composer

```
$ composer require ellipsesynergie/locale-to-yaml
```

Usage
-----

[](#usage)

```
...
```

### Laravel

[](#laravel)

First, add `EllipseSynergie\LocaleToYaml\LocaleToYamlServiceProvider::class` to `providers` of config file `app.php`.

#### Export

[](#export)

```
php artisan lang:export-to-yaml resources/lang/en/app.php

```

#### Import

[](#import)

```
php artisan lang:import-from-yaml resources/lang/en/app.yml resources/lang/en/app.php

```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test tests/
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

Credits
-------

[](#credits)

- [Ellipse Synergie](https://github.com/ellipsesynergie)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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/3246184?v=4)[Maxime Beaudoin](/maintainers/maximebeaudoin)[@maximebeaudoin](https://github.com/maximebeaudoin)

![](https://avatars.githubusercontent.com/u/290412?v=4)[Dominic Martineau](/maintainers/dominicmartineau)[@dominicmartineau](https://github.com/dominicmartineau)

![](https://www.gravatar.com/avatar/899bb5f2f65706dca17b1c741cd2e505e495f00b854cf2a3590bc69aeee63b44?d=identicon)[firalabs](/maintainers/firalabs)

---

Top Contributors

[![dominicmartineau](https://avatars.githubusercontent.com/u/290412?v=4)](https://github.com/dominicmartineau "dominicmartineau (23 commits)")[![maximebeaudoin](https://avatars.githubusercontent.com/u/3246184?v=4)](https://github.com/maximebeaudoin "maximebeaudoin (1 commits)")

### Embed Badge

![Health badge](/badges/ellipsesynergie-locale-to-yaml/health.svg)

```
[![Health](https://phpackages.com/badges/ellipsesynergie-locale-to-yaml/health.svg)](https://phpackages.com/packages/ellipsesynergie-locale-to-yaml)
```

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)[renatomarinho/laravel-multi-language

Laravel Multi Language

235.1k](/packages/renatomarinho-laravel-multi-language)

PHPackages © 2026

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