PHPackages                             apih/laravel-lang-helper - 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. apih/laravel-lang-helper

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

apih/laravel-lang-helper
========================

Language helper commands for Laravel-based application

v1.1.6(2mo ago)35.0k—0%MITPHPPHP ^8.0

Since Oct 3Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/apih/laravel-lang-helper)[ Packagist](https://packagist.org/packages/apih/laravel-lang-helper)[ Docs](https://github.com/apih/laravel-lang-helper)[ RSS](/packages/apih-laravel-lang-helper/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

Laravel Language Helper
=======================

[](#laravel-language-helper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1b550c810f500fa8f2fdd51fba50fc1067dfc1ecfe7085b8df3e373ccfd41f07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617069682f6c61726176656c2d6c616e672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apih/laravel-lang-helper)[![Total Downloads](https://camo.githubusercontent.com/395158add3705d253f1cec53742b0d8cdaeade3d88d381d80e971bfa570bae4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617069682f6c61726176656c2d6c616e672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apih/laravel-lang-helper)[![License](https://camo.githubusercontent.com/c720bfa49971d39795ba7cddd04c1eaf24d2fe0f8b18fff37f529430909c3a66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617069682f6c61726176656c2d6c616e672d68656c7065723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apih/laravel-lang-helper)

This package provides helper commands that can be used in managing and organizing language localization messages.

[![php artisan lang:missing](screenshot.png)](screenshot.png)

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

[](#requirements)

- PHP: `^8.0`
- Laravel: `^8.0|^9.0|^10.0|^11.0|^12.0|^13.0`

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

[](#installation)

You can install the package via Composer:

```
composer require apih/laravel-lang-helper --dev
```

The `Apih\LangHelper\LangHelperServiceProvider` class is auto-discovered and registered by default.

If you want to register it yourself, add the service provider in `config/app.php`:

```
'providers' => [
    /*
     * Package Service Providers...
     */
    Apih\LangHelper\LangHelperServiceProvider::class,
],
```

Usage
-----

[](#usage)

### Find Missing Translations

[](#find-missing-translations)

You can find messages with missing translations with:

```
php artisan lang:missing --locale=ms
```

This command will list all messages with missing translations for the target locale.

By default, this command will scan the following directories:

```
app, config, database, public, resources, routes

```

If you need to add additional directories, use `add-dirs` option:

```
php artisan lang:missing --locale=ms --add-dirs=src
```

### Find Duplicates In JSON Files

[](#find-duplicates-in-json-files)

You can find keys which have same translation message in JSON files with:

```
php artisan lang:json:duplicates
```

### Sort Messages In JSON Files

[](#sort-messages-in-json-files)

You can sort translation messages alphabetically in JSON files with:

```
php artisan lang:json:sort
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover any security related issues, please email [hafizuddin\_83@yahoo.com](mailto:hafizuddin_83@yahoo.com) instead of using the issue tracker. Please prefix the subject with `Laravel Lang Helper:`.

Credits
-------

[](#credits)

- [Mohd Hafizuddin M Marzuki](https://github.com/apih)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~224 days

Total

10

Last Release

82d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/798269?v=4)[Mohd Hafizuddin M Marzuki](/maintainers/apih)[@apih](https://github.com/apih)

---

Top Contributors

[![apih](https://avatars.githubusercontent.com/u/798269?v=4)](https://github.com/apih "apih (12 commits)")

---

Tags

phplaravellocalizationtranslationapihlaravel-lang-helper

### Embed Badge

![Health badge](/badges/apih-laravel-lang-helper/health.svg)

```
[![Health](https://phpackages.com/badges/apih-laravel-lang-helper/health.svg)](https://phpackages.com/packages/apih-laravel-lang-helper)
```

###  Alternatives

[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

544664.5k4](/packages/codezero-laravel-localized-routes)[jayesh/laravel-gemini-translator

An interactive command to extract and generate Laravel translations using Gemini AI.

702.3k1](/packages/jayesh-laravel-gemini-translator)[opgginc/codezero-laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

29119.1k1](/packages/opgginc-codezero-laravel-localized-routes)[awes-io/localization-helper

Package for convenient work with Laravel's localization features

3527.1k4](/packages/awes-io-localization-helper)[niels-numbers/laravel-localizer

Detects the user’s preferred language and redirects to the matching localized URL.

183.4k](/packages/niels-numbers-laravel-localizer)[mominalzaraa/filament-localization

The first and only automatic Filament localization package with intelligent resource scanning, structured translation files, and comprehensive testing

102.8k](/packages/mominalzaraa-filament-localization)

PHPackages © 2026

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