ablunier / laravel-lang-installer by ablunier

Command for easily add languages to a Laravel project
968
12
3
Package Data
Maintainer Username: ablunier
Maintainer Contact: adrian.blunier@gmail.com (Adrian P. Blunier)
Package Create Date: 2016-04-15
Package Last Update: 2018-06-12
Home Page:
Language: PHP
License: Unknown
Last Refreshed: 2024-12-12 15:03:04
Package Statistics
Total Downloads: 968
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 12
Total Watchers: 3
Total Forks: 2
Total Open Issues: 1

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