PHPackages                             rolice/lang-sync - 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. rolice/lang-sync

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

rolice/lang-sync
================

Parse templates, extracts laguages and sync them through different translations.

14PHP

Since Oct 12Pushed 10y ago2 watchersCompare

[ Source](https://github.com/Rolice/Laravel-LangSync)[ Packagist](https://packagist.org/packages/rolice/lang-sync)[ RSS](/packages/rolice-lang-sync/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-LangSync
================

[](#laravel-langsync)

Language Extractor and Synchroniser

This package is developed for Laravel 4.2. Larvel 5.0+ support is comming soon.

How it works?
-------------

[](#how-it-works)

The package will walk through the application files and will search for any `Lang::get` or `@lang` statements and will check for translation in the proper language file. A new file will be created, in case no file exists or a line will be put in the langauge file if the exact translation is missing.

All language files will be parsed with a unified translation code-style.

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

[](#installation)

You can easily install the package in your Laravel project by simply executing the following command:

`composer require rolice/lang-sync`

After the installation you have to add the service provider in app config:

```
'Rolice\LangSync\LangSyncServiceProvider'
```

for PHP 5.6+ you can add the following:

```
Rolice\LangSync\LangSyncServiceProvider::class
```

Usage
-----

[](#usage)

The usage is done through artisan command. This is done through command line like:

`php artisan locale:extract`

You can easily call it programmatically from your PHP code like, in case command line is not accessible:

```
Artisan::call('locale:extract')
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/749cf1dfa9fd70be7bbcb900213e22ded804858f6e92baadabc6456536eb18ce?d=identicon)[rolice](/maintainers/rolice)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rolice-lang-sync/health.svg)

```
[![Health](https://phpackages.com/badges/rolice-lang-sync/health.svg)](https://phpackages.com/packages/rolice-lang-sync)
```

###  Alternatives

[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[statikbe/laravel-chained-translator

The Laravel Chained Translator can combine several translators that can override each others translations.

36149.4k6](/packages/statikbe-laravel-chained-translator)

PHPackages © 2026

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