PHPackages                             alessandrobelli/lingua - 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. alessandrobelli/lingua

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

alessandrobelli/lingua
======================

Translation Manager for Laravel, built with TALL stack.

0.3.1(3y ago)249[1 PRs](https://github.com/alessandrobelli/Lingua/pulls)MITPHPPHP ^8.1

Since Oct 15Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/alessandrobelli/Lingua)[ Packagist](https://packagist.org/packages/alessandrobelli/lingua)[ Docs](https://github.com/alessandrobelli/lingua)[ RSS](/packages/alessandrobelli-lingua/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (6)Dependencies (15)Versions (9)Used By (0)

[![Lingua Banner](https://user-images.githubusercontent.com/3796324/193797408-61be81b3-afee-4b80-9e07-3a82472e73eb.png)](https://user-images.githubusercontent.com/3796324/193797408-61be81b3-afee-4b80-9e07-3a82472e73eb.png)

👅 Lingua
========

[](#tongue-lingua)

Translation Manager for Laravel, built with TALL stack.
-------------------------------------------------------

[](#translation-manager-for-laravel-built-with-tall-stack)

*🇮🇹 From Italian: Lingua means both Tongue and Language*

[![Latest Version on Packagist](https://camo.githubusercontent.com/ac09cbb20c6ad725058cb942fb507f76998b522bb3a840c996650a35996889df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c657373616e64726f62656c6c692f6c696e6775612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alessandrobelli/lingua)[![GitHub Tests Action Status](https://github.com/alessandrobelli/lingua/workflows/Tests/badge.svg)](https://github.com/alessandrobelli/lingua/workflows/Tests/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/5b204c11e11816274a7c9792b5b50dae3d4f0a6b9909c6a22c6e72435cc54b91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c657373616e64726f62656c6c692f6c696e6775612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alessandrobelli/lingua)[![Total Downloads](https://camo.githubusercontent.com/5b204c11e11816274a7c9792b5b50dae3d4f0a6b9909c6a22c6e72435cc54b91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c657373616e64726f62656c6c692f6c696e6775612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alessandrobelli/lingua)

Lingua is a dashboard that allows you to create, manage and import your translations for your project.

**This package is in pre-release with known issues. Please report them.**

```
The new Release - 0.3 - bring a lot of changes, mainly in the interface. Screenshots here still outdated.
```

I would like to warmly thank [Spatie](https://spatie.be/) and Freek to have taught me how to develop packages.

Requirements
------------

[](#requirements)

1. [Install AlpineJS](https://github.com/alpinejs/alpine) and include it in your JS file.
2. [Install Livewire](https://laravel-livewire.com/docs/2.x/installation).
3. Then you can install the package via composer.

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

[](#installation)

```
composer require alessandrobelli/lingua
```

This package needs a column called *linguaprojects* on the user table, as well as a table "translations".

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="alessandrobelli\Lingua\LinguaServiceProvider" --tag="migrations"
php artisan migrate
```

Usage
-----

[](#usage)

You need to add the routes to your web.php file.

```
Route::lingua('desiredslug');
```

Then you can go to /desiredslug to see the dashboard.

[![Lingua_Dashboard](https://user-images.githubusercontent.com/3796324/96856448-3397cd80-145e-11eb-9aab-a842e1a13979.png)](https://user-images.githubusercontent.com/3796324/96856448-3397cd80-145e-11eb-9aab-a842e1a13979.png)

To use the translation files for Javascript files place this into your header:

```

        window.trans = [];
        window.trans = ;

```

Then make a prototype function in Javascript to detect the `trans()` function inside your Javascript files, or use this, in case you use Vuejs and Lodash:

```
Vue.prototype.trans = (key) => {
    if (_.isUndefined(window.trans[key])) {
        return key;
    } else {
        if (window.trans[key] === "") return key;
        return window.trans[key];
    }
};
```

The language shown will be according to the locale of the browser, or you can use [this tutorial which worked for me](https://www.ryanoun.com/coding-notes/laravel/set-and-store-locale-in-laravel-5-6-using-middleware/).

More
----

[](#more)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Alessandro Belli](https://github.com/AlessandroBelli)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance43

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.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 ~144 days

Recently: every ~179 days

Total

6

Last Release

1362d ago

PHP version history (3 changes)0.1PHP ^7.4

0.2.1PHP 7.\*|8.\*

0.2.2PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3796324?v=4)[Alessandro Belli](/maintainers/alessandrobelli)[@alessandrobelli](https://github.com/alessandrobelli)

---

Top Contributors

[![alessandrobelli](https://avatars.githubusercontent.com/u/3796324?v=4)](https://github.com/alessandrobelli "alessandrobelli (51 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravellivewiretranslation-managementlaravellivewiretranslation-managerlinguaalessandrobelli

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/alessandrobelli-lingua/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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