ornio / l10n-laravel
L10N translation service Laravel package
Installs: 100
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/ornio/l10n-laravel
This package is auto-updated.
Last update: 2026-01-26 17:13:08 UTC
README
L10N Laravel is a simple package that fetches translations from L10N localization app
Requirements
- PHP version 7.0 or higher
- Laravel version 6.0 or higher
Easy Installation
Install with composer
To install with Composer, simply require the latest version of this package.
composer require ornio/l10n-laravel
Quick Start
First add your unique l10n application token to your .env file:
L10N_TOKEN
Optionally you can add L10N_URL if it is different than default one:
L10N_URL
Publish files:
php artisan vendor:publish --tag="l10n"
Add your languages to l10n config file:
'languages' => [ 'en', 'nb', ]
Finally run the command that fetches translations and saves them to default language directory:
php artisan l10n:fetch-translations