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

ActiveLibrary

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

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

2.2.0(1mo ago)2194↓50%MITPHPPHP ^8.3

Since Oct 4Pushed 1mo ago1 watchersCompare

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

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

45

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

52d ago

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

2.2.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/83e1381defb1092ae2eb229f0bedfed4a14eb4dcdc50a7556152b435749be23b?d=identicon)[maingocthanhtan96](/maintainers/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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M601](/packages/laravel-ui)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[nexxai/laravel-cfcache

A handful of Cloudflare cache helpers for Laravel

1317.7k](/packages/nexxai-laravel-cfcache)

PHPackages © 2026

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