PHPackages                             kuz/laravel-yaml-translations - 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. kuz/laravel-yaml-translations

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

kuz/laravel-yaml-translations
=============================

Use YAML for your Laravel language files

0.1.0(12y ago)111.3kMITPHPPHP &gt;=5.3.0

Since Jun 11Pushed 12y ago1 watchersCompare

[ Source](https://github.com/akuzemchak/laravel-yaml-translations)[ Packagist](https://packagist.org/packages/kuz/laravel-yaml-translations)[ RSS](/packages/kuz-laravel-yaml-translations/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Laravel YAML Translations
=========================

[](#laravel-yaml-translations)

Translating your application sucks. Translating it by throwing a ton of key/value pairs into plain ol' PHP arrays sucks even worse. This package makes it suck a *little* bit less by allowing you to use [YAML](http://www.yaml.org/) to format your [Laravel](http://laravel.com/) language files.

[![Build Status](https://camo.githubusercontent.com/59fa78608f0582ccd0723f1d4c2d0c4f5b24c53d8d4be08cc30481b8a035a9ce/68747470733a2f2f7472617669732d63692e6f72672f616b757a656d6368616b2f6c61726176656c2d79616d6c2d7472616e736c6174696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/akuzemchak/laravel-yaml-translations)

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

[](#requirements)

- PHP 5.3+
- Laravel 4.1+

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

[](#installation)

First, add the package to your `composer.json` dependencies and run `composer update`:

```
{
    "require": {
        "kuz/laravel-yaml-translations": "0.*"
    }
}

```

Next, you'll need to **replace** the default service provider with the new one in `app/config/app.php`:

```
// 'Illuminate\Translation\TranslationServiceProvider',
'Kuz\Translation\TranslationServiceProvider',

```

That should be it! You can now name your language files with a `.yml` extension, and use valid YAML arrays for your translations, like so:

```
name_label: Your Name
email_label: Your Email Address
password_label: Choose a Password

```

**Also worth noting:** If a language file with a `.yml` extension is not found, the loader will fall back to using the PHP language file if one exists. This means you don't have to convert the stock language files, like `validation.php` or `reminders.php`!

Support
-------

[](#support)

Use the [issue tracker](https://github.com/akuzemchak/laravel-yaml-translations/issues).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4404d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11669?v=4)[Aaron Kuzemchak](/maintainers/akuzemchak)[@akuzemchak](https://github.com/akuzemchak)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kuz-laravel-yaml-translations/health.svg)

```
[![Health](https://phpackages.com/badges/kuz-laravel-yaml-translations/health.svg)](https://phpackages.com/packages/kuz-laravel-yaml-translations)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[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)[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-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)
