PHPackages                             syntafin/laravel-i18n-exporter - 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. syntafin/laravel-i18n-exporter

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

syntafin/laravel-i18n-exporter
==============================

This package provides a command to easily convert the Laravel language files into JSON to be used by your frontend application.

v1.1.0(3mo ago)0664↓30.2%[1 issues](https://github.com/syntafin/i18n-exporter/issues)MITPHPPHP ^8.1CI failing

Since Apr 22Pushed 3mo ago1 watchersCompare

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

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

[![](https://camo.githubusercontent.com/14723fae050090f8fce11ee81b6e5db4e3f25269fc608d0e716329242f7b603a/68747470733a2f2f73686172652e73796e746166696e2e64652f6769746875622f6465765f736c6f67616e2e706e67)](https://syntafin.dev)

[![Discord](https://camo.githubusercontent.com/b3e106add0acf8b2281fe392781e280345014a2a8c6b071a5e4b64dee9ae0387/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3631363537333335343638353735393438383f636f6c6f723d666539336462266c6162656c3d446973636f7264267374796c653d666f722d7468652d6261646765)](https://discord.gg/7NqGZfn)[![XMPP](https://camo.githubusercontent.com/82004f0a86c72758ed9b1f94b99d1770d6751dffec3d6113bbed2f9296047230/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d584d5050266d6573736167653d73796e746166696e4074656e67752e6368617426636f6c6f723d666539336462267374796c653d666f722d7468652d6261646765)](xmpp://syntafin@tengu.chat)[![Email me](https://camo.githubusercontent.com/4cb96bfa13e870b404b6027c8d8e5a9f7d86ab8876e08f69082b161fc2b95621/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d4d61696c266d6573736167653d68656c6c6f4073796e746166696e2e64657626636f6c6f723d666539336462267374796c653d666f722d7468652d6261646765)](mailto://mail@syntaf.in)[![License](https://camo.githubusercontent.com/d646f338e6af37f14471975f2e54aa17ffaf3976fdf7123fdbcd28a8d1a26800/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d4c697a656e7a266d6573736167653d4d495426636f6c6f723d666539336462267374796c653d666f722d7468652d6261646765)](LICENSE)

Laravel i18n Exporter
=====================

[](#laravel-i18n-exporter)

A simple Laravel package to export your localization files into a JSON. Useful for translation workflows, localization auditing, or integrating with external translation platforms.

---

🚀 Features
----------

[](#-features)

- Export your Laravel PHP Translation files into a single JSON
- Easy to integrate with your current build and CI system
- Optional: Run with `artisan:optimize`

---

📦 Installation
--------------

[](#-installation)

### 1. Add package via Composer

[](#1-add-package-via-composer)

If you’re using this locally via path repository:

```
composer require syntafin/laravel-i18n-exporter
```

---

⚙️ Configuration
----------------

[](#️-configuration)

If you want to publish the config (optional):

```
php artisan vendor:publish --tag=i18n-exporter-config
```

---

🛠 Usage
-------

[](#-usage)

Run the export command via Artisan:

```
# Generate JSON files
php artisan i18n:export
# Delete all JSON files
php artisan i18n:clear
```

This will scan your Laravel lang directory and export all translation keys into a singe JSON.

📝 You can customize the output path, file type, and other options via configuration or CLI options (coming soon).

---

🧪 Testing
---------

[](#-testing)

TBD — unit tests coming soon.

---

💡 Credits
---------

[](#-credits)

Developed by [Syntafin](https://github.com/syntafin) 💙 Feel free to contribute, fork, or open an issue!

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance81

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~48 days

Recently: every ~80 days

Total

8

Last Release

100d ago

### Community

Maintainers

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

---

Top Contributors

[![syntafin](https://avatars.githubusercontent.com/u/695535?v=4)](https://github.com/syntafin "syntafin (30 commits)")

### Embed Badge

![Health badge](/badges/syntafin-laravel-i18n-exporter/health.svg)

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

###  Alternatives

[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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