ravloony/transduct
最新稳定版本:v5.2
Composer 安装命令:
composer require ravloony/transduct
包简介
Transform a Laravel language directory into a single JSON array
关键字:
README 文档
README
Simple package for laravel 4 to export lang folders to JSON.
##Setup & Usage
Installation
- Add
'Ravloony\Transduct\TransductServiceProvider',to the end of theprovidersarray in/app/config/app.php - Add
'Ravloony\Transduct\Facades\Transduct'to the end of thealiasesarray in/app/config.php
Usage
There is only one method:
Transduct::get('folder'), where folder is a fully qualified folder or subfolder in /app/lang/<locale>/
Transduct is locale aware and will output the current language.
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2014-10-28