ravloony/transduct
transduct
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.
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v5.2 | >=5.3.0 | ^4| | GPL-2.0+ | |
| v5.1 | >=5.3.0 | ^4| | GPL-2.0+ | |
| v5.0 | >=5.3.0 | ^4| | GPL-2.0+ | |
| v0.4.3 | >=5.3.0 | ^4| | GPL-2.0+ | |
| v0.4.2 | >=5.3.0 | 4.* | GPL-2.0+ | |
| v0.4.1 | >=5.3.0 | 4.* | GPL-2.0+ | |
| v0.4.0 | >=5.3.0 | 4.* | GPL-2.0+ | |
| v0.3.0 | >=5.3.0 | 4.* | GPL-2.0+ | |
| v0.2.0 | >=5.3.0 | 4.1.* | GPL-2.0+ | |
| v0.1.0 | >=5.3.0 | 4.1.* | GPL-2.0+ |