maksuco/langjson
Composer 安装命令:
composer require maksuco/langjson
包简介
Manage translations in Laravel json lang files
README 文档
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"
- Open the config/langjson.php file and edit the admnistrator user id.
- 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
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-08