New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ablunier/laravel-lang-installer

Command for easily add languages to a Laravel project
974 12
Install
composer require ablunier/laravel-lang-installer
Latest Version:1.1.1
PHP:>=5.5.9
Laravel:5
Last Updated:Jun 12, 2018
Links: GitHub  ·  Packagist
Maintainer: ablunier

Laravel languages installer

Install translation files for any language with a command in your laravel projects. The language files will be downloaded from the awesome caouecs languages repository.

Requirements

  • PHP 5.5 or higher.
  • Laravel >= 5.1

Installation

Add the package to your composer.json:

composer require ablunier/laravel-lang-installer

Add the service provider in app.php:

    Ablunier\Laravel\Translation\LanguageInstallerServiceProvider::class,

Publish the package's assets:

php artisan vendor:publish

Configuration

Edit the 'lang-installer.php' file in your config folder to add your required languages and files.

Usage

Execute the command:

php artisan lang:install

Related Packages

herkod/laravel-tr

Laravel İçin Türkçe Çeviri Dosyaları

8,637 62
hyperf/translation

An independent translation component, forked by illuminate/translation.

2,409,071 7
novius/laravel-caouecs-lang-extended

Generate default languages files for Laravel

4,742 1
jildertmiedema/translation-check

Checks if all translation items appear in all languages

783 1

Version History

Version Released PHP Laravel License
1.1.1 >=5.5.9 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
1.1.0 >=5.5.9 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
1.0.0 >=5.5.9 5.1.*