maksuco/langjson

Manage translations in Laravel json lang files

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:laravel

v0.3 2018-11-08 18:20 UTC

README

Manage translations in Laravel json lang files, No DB table, direct transformation in the json files

Installation

This packages requires Spatie/Analytics for the charts You can install the package via composer:

$ composer require maksuco/LangJson --dev

This Package works with auto discovery in Laravel +5.5, but is compatible with older versions

Install the config file and edit the info acording to your project

php artisan vendor:publish --provider="Maksuco\LangJson\LangJsonServiceProvider"
  1. Open the config/langjson.php file and edit the admnistrator user id.
  2. Define the lang files you have in your project.

Usage

Now just visit yourprojectname/langjson

make sure your login with the user id you define in the config file