PHPackages                             processmaker/laravel-i18next - 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. processmaker/laravel-i18next

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

processmaker/laravel-i18next
============================

Transform Laravel localization files into i18next compatible format. Provides routes for i18next-xhr-backend.

1191.6k↓36.7%7[1 PRs](https://github.com/ProcessMaker/laravel-i18next/pulls)PHPCI passing

Since Nov 26Pushed 2mo ago21 watchersCompare

[ Source](https://github.com/ProcessMaker/laravel-i18next)[ Packagist](https://packagist.org/packages/processmaker/laravel-i18next)[ RSS](/packages/processmaker-laravel-i18next/feed)WikiDiscussions release-2025-spring Synced 2w ago

READMEChangelogDependenciesVersions (10)Used By (0)

laravel-i18next
===============

[](#laravel-i18next)

Transform Laravel translation files into i18next compatible formats at runtime. This package provides a route for i18next to pull translations via `i18next-xhr-backend`

@TODO

- Add example on implementing in a react app (beyond the `views/test.blade.php`)

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

[](#installation)

Installation via composer is supported. Run `composer require processmaker/laravel-i18next`. Once installed, you can publish the configuration via `php artisan vendor:publish --tag=i18next`

The `flatten` configuration option (found in `config/i18next.php`) should be set to true if you're using multidimensional arrays for your translations and NOT the Laravel String as Keys.

The `exclude.groups` configuration option allows you to exclude named groups. So if you have `lang/en/custom_group.php`, and want to exclude it, add `custom_group` to the `exclude.groups` key.

Testing
-------

[](#testing)

We use PHPUnit ^7.2 for unit tests on this package. You can execute the tests either by running:

`composer run-script test`

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance56

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ab66faa2bb09e27a5499a2aa35203a378d656d7df3b21582ace7f447cde8605?d=identicon)[processmaker](/maintainers/processmaker)

---

Top Contributors

[![dongilbert](https://avatars.githubusercontent.com/u/718028?v=4)](https://github.com/dongilbert "dongilbert (6 commits)")[![tdondich](https://avatars.githubusercontent.com/u/3330334?v=4)](https://github.com/tdondich "tdondich (4 commits)")[![caleeli](https://avatars.githubusercontent.com/u/8028650?v=4)](https://github.com/caleeli "caleeli (1 commits)")[![ThisIsJustARandomGuy](https://avatars.githubusercontent.com/u/21229739?v=4)](https://github.com/ThisIsJustARandomGuy "ThisIsJustARandomGuy (1 commits)")

### Embed Badge

![Health badge](/badges/processmaker-laravel-i18next/health.svg)

```
[![Health](https://phpackages.com/badges/processmaker-laravel-i18next/health.svg)](https://phpackages.com/packages/processmaker-laravel-i18next)
```

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)

PHPackages © 2026

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