PHPackages                             larajs/i18n - 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. larajs/i18n

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

larajs/i18n
===========

Generates a vue-i18n compatible include file from your Laravel translations.

2.2.0(3mo ago)2231↓43.8%MITPHPPHP ^8.3

Since Oct 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/maingocthanhtan96/larajs-i18n)[ Packagist](https://packagist.org/packages/larajs/i18n)[ RSS](/packages/larajs-i18n/feed)WikiDiscussions main Synced today

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

Introduction
------------

[](#introduction)

[This package](https://github.com/maingocthanhtan96/larajs-i18n) allows converting language files from `.php` to `.json` to support frontend.

Quick start
-----------

[](#quick-start)

**Install**

```
composer require --dev larajs/i18n:dev-main
```

**Generate**

```
php artisan larajs:i18n
```

**Publish config**

```
php artisan vendor:publish --tag=larajs-i18n
```

**Frontend**

```
import {createI18n} from "vue-i18n";
import LaraJSI18n from "./i18n.generated.json";

const i18n = createI18n({
  messages: LaraJSI18n,
});

export default i18n;
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance81

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~270 days

Total

3

Last Release

98d ago

PHP version history (2 changes)2.0.0PHP ^7.4|^8.0|^8.1

2.2.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/84553090?v=4)[maingocthanhtan96](/maintainers/maingocthanhtan96)[@maingocthanhtan96](https://github.com/maingocthanhtan96)

---

Top Contributors

[![maingocthanhtan96](https://avatars.githubusercontent.com/u/84553090?v=4)](https://github.com/maingocthanhtan96 "maingocthanhtan96 (7 commits)")

---

Tags

laravelvue-i18n

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/larajs-i18n/health.svg)

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[erag/laravel-lang-sync-inertia

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

4925.3k](/packages/erag-laravel-lang-sync-inertia)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M6](/packages/propaganistas-laravel-disposable-email)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.0k14](/packages/tallstackui-tallstackui)

PHPackages © 2026

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