PHPackages                             insnsk/laravel-translate-excel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. insnsk/laravel-translate-excel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

insnsk/laravel-translate-excel
==============================

Convert translations to/from a single Excel file

01691[2 PRs](https://github.com/allnightru/laravel-translate-excel/pulls)PHPCI failing

Since Jan 12Pushed 1w ago1 watchersCompare

[ Source](https://github.com/allnightru/laravel-translate-excel)[ Packagist](https://packagist.org/packages/insnsk/laravel-translate-excel)[ RSS](/packages/insnsk-laravel-translate-excel/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (5)Used By (0)

Convert translations to/from a single Excel file
================================================

[](#convert-translations-tofrom-a-single-excel-file)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2288769d87eeabc4bd16f820d16a84c5b44c6393c23728265740dba19e8e1e65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e732f6c61726176656c2d7472616e736c6174652d657863656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ins/laravel-translate-excel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ccff6c0817996aefe5805d26ceef3a6c78584a913106c60b64697aa9e6b32773/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f696e732f6c61726176656c2d7472616e736c6174652d657863656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ins/laravel-translate-excel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/5546911cd112c13d9c0fe5832a6afc0d584ab02cb6ecedd0643961d727bde6af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f696e732f6c61726176656c2d7472616e736c6174652d657863656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/ins/laravel-translate-excel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b6691ad2776755d5418bd5087cda554340115a7fdf1b8b5e52368780b1020e9b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e732f6c61726176656c2d7472616e736c6174652d657863656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ins/laravel-translate-excel)

This package converts all PHP translations from Laravel`s "lang" directory a single Excel file with dot-arrayed keys. Each file comes to a separate sheet.

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

[](#installation)

You can install the package via composer:

```
composer require insnsk/laravel-translate-excel
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-translate-excel-config"
```

This is the contents of the published config file:

```
return [
    // this is the default locale which will be used as reference
    'main_locale' => 'en',
    // what locations would you like to have in your file
    'locales' => ['en','de','ru','ja']
];
```

Usage
-----

[](#usage)

Just invoke the artisan console command:

```
php artisan lang:convert
```

And get your generated file at 'storage/app/translations.xlsx' You can specify filename as a parameter:

```
php artisan lang:convert to my_filename.xlsx
```

After you translate the file in Excel you would probably need to get it back to your app. So put your translated file "my\_filename.xlsx" into "storage/app" directory, then run:

```
php artisan lang:convert from my_filename.xlsx
```

PHP-translation files will be generated into "storage/lang" folder. Just copy them back to your app root.

Changelog
---------

[](#changelog)

Readme update &amp; config publish

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

[](#security-vulnerabilities)

This package was made just for my needs, so it was not tested at all and the code is not perfect also. Use it at your own risk.

Credits
-------

[](#credits)

- [Kirill Petrov](https://github.com/ins)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance64

Regular maintenance activity

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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/4380f81311dd8ed52f200b051cf66174faf578134f3b1906aa233a83bb36b7b1?d=identicon)[ins](/maintainers/ins)

---

Top Contributors

[![allnightru](https://avatars.githubusercontent.com/u/5612457?v=4)](https://github.com/allnightru "allnightru (9 commits)")[![AntonLeontev](https://avatars.githubusercontent.com/u/59513311?v=4)](https://github.com/AntonLeontev "AntonLeontev (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![harsh04081997](https://avatars.githubusercontent.com/u/32217943?v=4)](https://github.com/harsh04081997 "harsh04081997 (1 commits)")

### Embed Badge

![Health badge](/badges/insnsk-laravel-translate-excel/health.svg)

```
[![Health](https://phpackages.com/badges/insnsk-laravel-translate-excel/health.svg)](https://phpackages.com/packages/insnsk-laravel-translate-excel)
```

PHPackages © 2026

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