wotz/laravel-poeditor-sync

Upload and download POEditor translations
29,420 6
Install
composer require wotz/laravel-poeditor-sync
Latest Version:3.3.0
PHP:^8.1|^8.2|^8.3|^8.4|^8.5
License:MIT
Last Updated:Mar 18, 2026
Links: GitHub  ·  Packagist
Maintainer: gdebrauwer

Laravel Poeditor Synchronization

Latest Version on Packagist Total Downloads

Upload and download POEditor translations. Both PHP and JSON translation files are supported. Vendor PHP / JSON translations can also be uploaded / downloaded.

Installation

You can install the package via composer:

composer require wotz/laravel-poeditor-sync --dev

You can publish the configuration file:

php artisan vendor:publish --provider="Wotz\PoeditorSync\PoeditorSyncServiceProvider"

Set the POEditor API key and Project ID in your env-file:

POEDITOR_API_KEY=<your api key>
POEDITOR_PROJECT_ID=<your project id>

In the 'poeditor-sync' configuration file, you should specify the supported locales. You can also provide an associate array, if you want to map POEditor locales to internal locales.

// in config/poeditor-sync.php

// Provide array with all supported locales ...
'locales' => ['en', 'nl', 'fr'],

// ... Or provide associative array with POEditor locales mapped to internal locales
'locales' => ['en-gb' => 'en', 'nl-be' => 'nl'],

// ... Or you can map multiple internal locales to the same POEditor locale
'locales' => ['nl' => ['nl_BE', 'nl_NL']],

Usage

Download translations

All translations in all supported locales will be downloaded.

php artisan poeditor:download

Upload Translations

Upload translations of the default app locale:

php artisan poeditor:upload

Upload translations of specified locale:

php artisan poeditor:upload nl

Upload translations and overwrite existing POEditor translations:

php artisan poeditor:upload --force

Validate Translations

Validate that translations have the same replacements and correct pluralization:

php artisan poeditor:validate

Status of Translations

Check if local translations match the ones on POEditor:

php artisan poeditor:status

Testing

composer test

Linting

composer lint

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

vemcogroup/laravel-translation

Translation package for Laravel to scan for localisations and up/download to poe...

352,746 134
arcanedev/laravel-lang

Translations manager and checker for Laravel 5 based on 'caouecs/laravel4-lang'...

71,650 70
cipherpols/laravel-translation

In-database Translator for Laravel

224 8
vsch/laravel-translation-manager

Enhanced Laravel Translation Manager

191,586 183