PHPackages                             testmonitor/laravel-vue-i18n-generator - 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. testmonitor/laravel-vue-i18n-generator

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

testmonitor/laravel-vue-i18n-generator
======================================

This package compiles your Laravel translation files into a Vue i18n compatible JSON file.

v3.0.0(1y ago)26.5k↑100%4[1 PRs](https://github.com/testmonitor/laravel-vue-i18n-generator/pulls)MITPHPPHP ^8.2

Since May 4Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/testmonitor/laravel-vue-i18n-generator)[ Packagist](https://packagist.org/packages/testmonitor/laravel-vue-i18n-generator)[ Docs](https://github.com/testmonitor/laravel-vue-i18n-generator)[ RSS](/packages/testmonitor-laravel-vue-i18n-generator/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Vue i18n Generator
==========================

[](#laravel-vue-i18n-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/8b0fc9a8590265dff2549f8b37bd77d16985537eaed8b096540040c13c0d14b0/68747470733a2f2f706f7365722e707567782e6f72672f746573746d6f6e69746f722f6c61726176656c2d7675652d6931386e2d67656e657261746f722f762f737461626c65)](https://packagist.org/packages/testmonitor/laravel-vue-i18n-generator)[![CircleCI](https://camo.githubusercontent.com/f1d055898982bdf85528d875d5ce6ab5c468c64efa00191624f6fd0f5ffd9625/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f746573746d6f6e69746f722f6c61726176656c2d7675652d6931386e2d67656e657261746f722e737667)](https://circleci.com/gh/testmonitor/laravel-vue-i18n-generator)[![StyleCI](https://camo.githubusercontent.com/33b752951e9f891223bca5ee3a2b1c650e4c8bf5140c396194d800c91466e0a7/68747470733a2f2f7374796c6563692e696f2f7265706f732f3633343934323833342f736869656c64)](https://styleci.io/repos/634942834)[![codecov](https://camo.githubusercontent.com/f59e7430c139a43c4b389387160e098c15d3777e296486e39913a75b11044987/68747470733a2f2f636f6465636f762e696f2f67682f746573746d6f6e69746f722f6c61726176656c2d7675652d6931386e2d67656e657261746f722f67726170682f62616467652e7376673f746f6b656e3d48554a41483930545534)](https://codecov.io/gh/testmonitor/laravel-vue-i18n-generator)[![License](https://camo.githubusercontent.com/33bdf5022fe882fb78ec5ec492f21dc966c886a2866253ad740bd866fc9b7868/68747470733a2f2f706f7365722e707567782e6f72672f746573746d6f6e69746f722f6c61726176656c2d7675652d6931386e2d67656e657261746f722f6c6963656e7365)](https://packagist.org/packages/testmonitor/laravel-vue-i18n-generator)

This package compiles your Laravel translation files into a [Vue i18n](https://kazupon.github.io/vue-i18n/) compatible Javascript file.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Start by installing the package using Composer:

```
$ composer require testmonitor/laravel-vue-i18n-generator

```

Optionally publish the package assets:

```
$ php artisan vendor:publish --provider="TestMonitor\VueI18nGenerator\VueI18nGeneratorServiceProvider" --tag="config"

```

You're all set up now!

Usage
-----

[](#usage)

When installed, use the Artisan command to generate the Vue i18n file:

```
$ php artisan vue:translations

```

This compiles your Laravel JSON and PHP language files into a single Javascript file called `vue-i18n-locales.js` located in `/resources/js/i18n`.

By default, your Laravel language path is used to determine which files to include. You can override this behavior using the path option:

```
$ php artisan vue:translations --path=resources/lang

```

There is also an option to change the output file path:

```
$ php artisan vue:translations --output=resources/js/i18n.js

```

Alternatively, you can configure output file path in the configuration file.

Changelog
---------

[](#changelog)

Refer to [CHANGELOG](CHANGELOG.md) for more information.

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

[](#contributing)

Refer to [CONTRIBUTING](CONTRIBUTING.md) for contributing details.

Credits
-------

[](#credits)

- **Thijs Kok** - *Lead developer* - [ThijsKok](https://github.com/thijskok)
- **Stephan Grootveld** - *Developer* - [Stefanius](https://github.com/stefanius)
- **Frank Keulen** - *Developer* - [FrankIsGek](https://github.com/frankisgek)

License
-------

[](#license)

The MIT License (MIT). Refer to the [License](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance57

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 59.1% 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 ~353 days

Total

3

Last Release

404d ago

Major Versions

v1.0.0 → v2.0.02024-11-27

v2.0.0 → v3.0.02025-04-09

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/47f66133b6b4806a16aaed043daa733f5e97adb7a10c9982d01a1cda9f492040?d=identicon)[stefanius](/maintainers/stefanius)

![](https://www.gravatar.com/avatar/39f48c881813b7d3b044ca5660aa5ab9e60b5dd7c34ed4a47acbb11bd20b7593?d=identicon)[thijskok](/maintainers/thijskok)

---

Top Contributors

[![thijskok](https://avatars.githubusercontent.com/u/1344550?v=4)](https://github.com/thijskok "thijskok (26 commits)")[![stefanius](https://avatars.githubusercontent.com/u/2707905?v=4)](https://github.com/stefanius "stefanius (12 commits)")[![Frankisgek](https://avatars.githubusercontent.com/u/487218?v=4)](https://github.com/Frankisgek "Frankisgek (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (3 commits)")

---

Tags

i18nlaravelvuevue-i18nlaravelvue-i18ntestmonitorlaravel-vue-i18n-generator

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/testmonitor-laravel-vue-i18n-generator/health.svg)

```
[![Health](https://phpackages.com/badges/testmonitor-laravel-vue-i18n-generator/health.svg)](https://phpackages.com/packages/testmonitor-laravel-vue-i18n-generator)
```

###  Alternatives

[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

3812.2k](/packages/erag-laravel-lang-sync-inertia)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)

PHPackages © 2026

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