PHPackages                             typidesign/laravel-artisan-translations - 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. typidesign/laravel-artisan-translations

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

typidesign/laravel-artisan-translations
=======================================

An artisan command to update json translation files.

4.0(2mo ago)428.3k↑17.9%2MITPHPPHP ^8.1CI passing

Since Jun 1Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/typidesign/laravel-artisan-translations)[ Packagist](https://packagist.org/packages/typidesign/laravel-artisan-translations)[ Docs](https://github.com/typidesign/laravel-artisan-translations)[ RSS](/packages/typidesign-laravel-artisan-translations/feed)WikiDiscussions master Synced 1mo ago

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

Manage translations in json files
=================================

[](#manage-translations-in-json-files)

[![Latest Version on Packagist](https://camo.githubusercontent.com/93d68a1f8d3b42fbde69b69529490f5c691f44aae34774b103f26952c6869c83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7479706964657369676e2f6c61726176656c2d6172746973616e2d7472616e736c6174696f6e732e737667)](https://packagist.org/packages/typidesign/laravel-artisan-translations)[![Tests](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/tests.yml/badge.svg)](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/tests.yml)[![PHPStan](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/phpstan.yml/badge.svg)](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/phpstan.yml)[![Rector](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/rector.yml/badge.svg)](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/rector.yml)[![Pint](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/pint.yml/badge.svg)](https://github.com/typidesign/laravel-artisan-translations/actions/workflows/pint.yml)

This package provides artisan commands to manage translations in Laravel JSON files.

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

[](#installation)

You can install the package via composer:

```
composer require typidesign/laravel-artisan-translations
```

The service provider will be auto-discovered by Laravel.

Usage
-----

[](#usage)

### Add translations from a single file

[](#add-translations-from-a-single-file)

```
php artisan translations:add vendor/typicms/pages/src/lang/fr.json
```

Every translation present in this file will be added to `lang/fr.json`.

### Add translations from a directory

[](#add-translations-from-a-directory)

```
php artisan translations:add vendor/typicms/pages/src/lang
```

Every translation found in this directory will be added to `lang/`.

### Overwrite translations

[](#overwrite-translations)

By default, existing translation keys will not be overwritten. Use the `--force` option to overwrite them:

```
php artisan translations:add vendor/typicms/pages/src/lang --force
```

### Remove translations

[](#remove-translations)

Remove translations found in a file or directory from `lang/`:

```
php artisan translations:remove vendor/typicms/pages/src/lang/fr.json
php artisan translations:remove vendor/typicms/pages/src/lang
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information 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)

- [Samuel De Backer](https://github.com/sdebacker)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity78

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

Total

10

Last Release

66d ago

Major Versions

1.0.4 → 2.0.02022-04-20

2.0.0 → 3.02023-04-06

3.2 → 4.02026-03-13

PHP version history (4 changes)1.0.0PHP ^7.0

1.0.4PHP ^7.0|^8.0

2.0.0PHP ^8.0.2

3.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b93740e4c6b40a6219441696db5db9c4b635dad91339c1893dfe0813434e8d94?d=identicon)[Samuel De Backer](/maintainers/Samuel%20De%20Backer)

---

Top Contributors

[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (29 commits)")

---

Tags

typidesignlaravel-artisan-translations

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/typidesign-laravel-artisan-translations/health.svg)

```
[![Health](https://phpackages.com/badges/typidesign-laravel-artisan-translations/health.svg)](https://phpackages.com/packages/typidesign-laravel-artisan-translations)
```

###  Alternatives

[mariuzzo/laravel-js-localization

Laravel Localization in JavaScript

6073.9M3](/packages/mariuzzo-laravel-js-localization)[nikaia/translation-sheet

Laravel Translation via Google Spreadsheet

294606.4k1](/packages/nikaia-translation-sheet)[tio/laravel

Add this package to localize your Laravel application (PHP, JSON or GetText).

170318.5k](/packages/tio-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

3812.2k](/packages/erag-laravel-lang-sync-inertia)[coding-socks/lost-in-translation

This package helps to find missing translation strings in your Laravel blade files

10117.0k](/packages/coding-socks-lost-in-translation)

PHPackages © 2026

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