PHPackages                             larapackage/languagefile - 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. larapackage/languagefile

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

larapackage/languagefile
========================

A simple package to easily create language files in Laravel Framework

0.1.1(11y ago)2233MITPHP

Since May 3Pushed 11y ago1 watchersCompare

[ Source](https://github.com/LaraPackage/LanguageFile)[ Packagist](https://packagist.org/packages/larapackage/languagefile)[ RSS](/packages/larapackage-languagefile/feed)WikiDiscussions master Synced today

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

Laravel Language File Creator
=============================

[](#laravel-language-file-creator)

[![Build Status](https://camo.githubusercontent.com/2f587d23780e3eb404d7081f77100b91c2a18dd85a80b7834b9ba330291947be/68747470733a2f2f7472617669732d63692e6f72672f4c6172615061636b6167652f4c616e677561676546696c652e737667)](https://travis-ci.org/LaraPackage/LanguageFile)[![SensioLabsInsight](https://camo.githubusercontent.com/cd4f3eac9e8f095b68fd1ac4731cab36c169fff4e9ef525fa9edbff740a6f959/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f33373137613437372d323864342d343638382d383736342d3938653265343866356539652f6d696e692e706e67)](https://insight.sensiolabs.com/projects/3717a477-28d4-4688-8764-98e2e48f5e9e)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ba77f090c28c78d543153b972acd230ebf3856bcd4bb9b6c954508cd146a2cba/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c6172615061636b6167652f4c616e677561676546696c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LaraPackage/LanguageFile/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/78d3cce2bbde6d0b4cfbc889c7d91d88cc91b696ad70fbb3cc33e9b48375d8e2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c6172615061636b6167652f4c616e677561676546696c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LaraPackage/LanguageFile/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/e7e88b22bb681a008a584a372c37564287e9d3d32f5fb4dcc3888cbe6686101a/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617061636b6167652f6c616e677561676566696c652f762f737461626c65)](https://packagist.org/packages/larapackage/languagefile)[![License](https://camo.githubusercontent.com/b4cc222ab74fb5c030ee020094167f1f90e1be0c5e96d0c3b5c71c40bed70038/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617061636b6167652f6c616e677561676566696c652f6c6963656e7365)](https://packagist.org/packages/larapackage/languagefile)

About
-----

[](#about)

This package creates a ready-to-go language file for Laravel from an array or a traversable object (i.e. collections).

Tests
-----

[](#tests)

```
vendor/bin/phpunit

```

Usage
-----

[](#usage)

To install the generated file [see the docs](http://laravel.com/docs/5.0/localization).

```
$tags = ['key' => 'value', 'key2' => 'value'];

// this creates a ready to go php language file for Laravel
$fileString = \LanguageFileCreator::make($tags);
```

### Service Provider &amp; Facade

[](#service-provider--facade)

If you want to use the facade use the service provider by adding it to your `config/app.php`. You will need to add the facade there as well.

```
'providers' => [
    //...
    LaraPackage\LanguageFile\ServiceProvider::class,
];

'aliases' => [
    //...
    'LanguageFileCreator' => LaraPackage\LanguageFile\Facades\LanguageFileCreator::class,
];
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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

4080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6b92405460991d20f4fb1745206bfa7bce163be347ea33c0f91c521552b44f8?d=identicon)[AndyWendt](/maintainers/AndyWendt)

---

Top Contributors

[![AndyWendt](https://avatars.githubusercontent.com/u/6130713?v=4)](https://github.com/AndyWendt "AndyWendt (14 commits)")[![FoxGroveMedia](https://avatars.githubusercontent.com/u/2521396?v=4)](https://github.com/FoxGroveMedia "FoxGroveMedia (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/larapackage-languagefile/health.svg)

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

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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