maksuco/langjson

Manage translations in Laravel json lang files

Installs: 29

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:laravel

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

This package is not auto-updated.

Last update: 2024-04-21 01:25:00 UTC


README

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

Installation

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

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