Package Data | |
---|---|
Maintainer Username: | ravloony |
Maintainer Contact: | tm@thomas-macdonald.com (Thomas Macdonald) |
Package Create Date: | 2014-10-28 |
Package Last Update: | 2019-10-03 |
Home Page: | |
Language: | PHP |
License: | GPL-2.0+ |
Last Refreshed: | 2024-11-21 03:01:50 |
Package Statistics | |
---|---|
Total Downloads: | 62 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 4 |
Total Forks: | 1 |
Total Open Issues: | 1 |
Simple package for laravel 4 to export lang folders to JSON.
##Setup & Usage
'Ravloony\Transduct\TransductServiceProvider',
to the end of the providers
array in /app/config/app.php
'Ravloony\Transduct\Facades\Transduct'
to the end of the aliases
array in /app/config.php
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.