PHPackages                             nicolasbeauvais/laravel-transcribe - 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. [CLI &amp; Console](/categories/cli)
4. /
5. nicolasbeauvais/laravel-transcribe

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

nicolasbeauvais/laravel-transcribe
==================================

A simple language files translation manager in your artisan console

v1.0.3(7y ago)228MITPHPPHP ^7.0

Since Jun 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nicolasbeauvais/laravel-transcribe)[ Packagist](https://packagist.org/packages/nicolasbeauvais/laravel-transcribe)[ Docs](https://github.com/nicolasbeauvais/laravel-transcribe)[ RSS](/packages/nicolasbeauvais-laravel-transcribe/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

Laravel Transcribe
==================

[](#laravel-transcribe)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1fa56fdb7e6def7f66c56579a3f1690e1a259d0e6b469d58fe7eec779a643246/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636f6c617362656175766169732f6c61726176656c2d7472616e7363726962652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nicolasbeauvais/laravel-transcribe)[![Build Status](https://camo.githubusercontent.com/f5d0acdaddf98010cca235786c3e004abe2548ea1cab3ca8c5cec618c06426ce/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e69636f6c617362656175766169732f6c61726176656c2d7472616e7363726962652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nicolasbeauvais/laravel-transcribe)[![StyleCI](https://camo.githubusercontent.com/b0c3644641cdd2a4a4e16885ec0728b5888fced08ba97dc41f50fdc0c95a7b9f/68747470733a2f2f7374796c6563692e696f2f7265706f732f3133353732333938332f736869656c64)](https://styleci.io/repos/135723983)[![Quality Score](https://camo.githubusercontent.com/25ceae608786d0540476d17dc4121257fb2d6c2b7cd4ba33a3d20052d1ec4b89/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e69636f6c617362656175766169732f6c61726176656c2d7472616e7363726962652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nicolasbeauvais/laravel-transcribe)[![Total Downloads](https://camo.githubusercontent.com/27c27deab97c82331490811f608e2aaa75f05a5ae424d6df9700e86569583ad1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e69636f6c617362656175766169732f6c61726176656c2d7472616e7363726962652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nicolasbeauvais/laravel-transcribe)

Transcribe is a language files manager in your artisan console, it helps you search, update, add, and remove translation lines with ease. Taking care of a multilingual interface is not a headache anymore.

Acknowledgment
--------------

[](#acknowledgment)

Laravel Transcribe has been hard-forked from [themsaid/laravel-langman](https://github.com/themsaid/laravel-langman) in order to maintain and improve the existing library.

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

[](#installation)

Begin by installing the package through Composer. Run the following command in your terminal:

```
$ composer require nicolasbeauvais/laravel-transcribe

```

If you're using Laravel 5.5 or higher the package will automatically register itself. If you're using Laravel 5.4 or lower, add the following line in your providers array of `config/app.php`:

```
NicolasBeauvais\Transcribe\TranscribeServiceProvider::class
```

This package has a single configuration option that points to the `resources/lang` directory, if only you need to change the path then publish the config file:

```
php artisan vendor:publish --provider="NicolasBeauvais\Transcribe\TranscribeServiceProvider"

```

Usage
-----

[](#usage)

### Showing lines of a translation file

[](#showing-lines-of-a-translation-file)

```
php artisan transcribe:show users

```

You get:

```
+---------+---------------+-------------+
| key     | en            | nl          |
+---------+---------------+-------------+
| name    | name          | naam        |
| job     | job           | baan        |
+---------+---------------+-------------+

```

---

```
php artisan transcribe:show users.name

```

Brings only the translation of the `name` key in all languages.

---

```
php artisan transcribe:show users.name.first

```

Brings the translation of a nested key.

---

```
php artisan transcribe:show package::users.name

```

Brings the translation of a vendor package language file.

---

```
php artisan transcribe:show users --lang=en,it

```

Brings the translation of only the "en" and "it" languages.

---

```
php artisan transcribe:show users.nam -c

```

Brings only the translation lines with keys matching the given key via close match, so searching for `nam` brings values for keys like (`name`, `username`, `branch_name_required`, etc...).

In the table returned by this command, if a translation is missing it'll be marked in red.

### Finding a translation line

[](#finding-a-translation-line)

```
php artisan transcribe:find 'log in first'

```

You get a table of language lines where any of the values matches the given phrase by close match.

### Searching view files for missing translations

[](#searching-view-files-for-missing-translations)

```
php artisan transcribe:sync

```

This command will look into all files in `resources/views` and `app` and find all translation keys that are not covered in your translation files, after that it appends those keys to the files with a value equal to an empty string.

### Searching translations for unused keys

[](#searching-translations-for-unused-keys)

```
php artisan langman:unused

```

This command will look into all language files and find all keys that are not used in your view files.

### Filling missing translations

[](#filling-missing-translations)

```
php artisan transcribe:missing

```

It'll collect all the keys that are missing in any of the languages or has values equals to an empty string, prompt asking you to give a translation for each, and finally save the given values to the files.

### Translating a key

[](#translating-a-key)

```
php artisan transcribe:trans users.name
php artisan transcribe:trans users.name.first
php artisan transcribe:trans users.name --lang=en
php artisan transcribe:trans package::users.name

```

Using this command you may set a language key (plain or nested) for a given group, you may also specify which language you wish to set leaving the other languages as is.

This command will add a new key if not existing, and updates the key if it is already there.

### Removing a key

[](#removing-a-key)

```
php artisan transcribe:remove users.name
php artisan transcribe:remove package::users.name

```

It'll remove that key from all language files.

### Renaming a key

[](#renaming-a-key)

```
php artisan transcribe:rename users.name full_name

```

This will rename `users.name` to be `users.full_name`, the console will output a list of files where the key used to exist.

Notes
-----

[](#notes)

`transcribe:sync`, `transcribe:missing`, `transcribe:trans`, and `transcribe:remove` will update your language files by writing them completely, meaning that any comments or special styling will be removed, so I recommend you backup your files.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2900d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b6066ead65db8768cca2c6c5d2312e5f9af8e564ceb2971bb33e30d58bd280e?d=identicon)[nicolasbeauvais](/maintainers/nicolasbeauvais)

---

Top Contributors

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

---

Tags

consolei18nlaravellaravel-frameworklocalizationmultilingualtranslatetranslationconsolelaravellocalizationi18ntranslatetranslationmultilinguallaravel-framework

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nicolasbeauvais-laravel-transcribe/health.svg)

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

###  Alternatives

[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[omaralalwi/lexi-translate

Laravel translation package with morph relationships and caching.

754.3k2](/packages/omaralalwi-lexi-translate)

PHPackages © 2026

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