Package Data | |
---|---|
Maintainer Username: | palmabit |
Maintainer Contact: | j.beschi@palmabit.com (jacopo beschi) |
Package Create Date: | 2014-09-25 |
Package Last Update: | 2016-02-15 |
Home Page: | www.palmabit.com |
Language: | PHP |
License: | mit |
Last Refreshed: | 2024-11-22 03:14:05 |
Package Statistics | |
---|---|
Total Downloads: | 237 |
Monthly Downloads: | 3 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 4 |
Total Forks: | 0 |
Total Open Issues: | 0 |
#Multilanguage
##Description
This package adds multilanguage capability to your laravel app.
The simplest method of installation is to install it as a global Composer package:
"palmabit/multilanguage 1.0.*"
'Palmabit\Multilanguage\MultilanguageServiceProvider'
"php artisan asset:publish"
In order to see the docs install the laravel package example app: https://github.com/Palmabit-IT/package-examples
http://<url>/api/v1/lang
response:
{
"lang": "en"
}
http://<url>/api/v1/lang/<new-lang>
response:
{
"success": true
"lang": "en"
}
http://<url>/api/v1/lang
parameters:
{
"lang": "en"
}
response:
{
"success": true
"lang": "en"
}