Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (21) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-09-30 (10 days ago) | Not yet rated by the users | Total: 6 This week: 3 | All time: 10,443 This week: 75 |
Version | License | PHP version | Categories | |||
laravel-translator 1.0.0 | MIT/X Consortium ... | 5 | Localization, PHP 5, Web services |
Description | Author | |||
This package can get application text translations from JSON files. Innovation Award
|
You can install the package via composer:
composer require isaeken/laravel-translator
You can publish the config file with:
php artisan vendor:publish --provider="IsaEken\LaravelTranslator\LaravelTranslatorServiceProvider" --tag="laravel-translator-config"
This is the contents of the published config file:
return [
'supported_languages' => [
'en' => 'English',
],
'abort_if_unsupported' => false,
];
__('Hello World'); // Save to your fallback language file in not production environment.
See `/api/translator/?locale=tr
`
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
Files |
File | Role | Description | ||
---|---|---|---|---|
.github (3 files, 2 directories) | ||||
config (1 file) | ||||
routes (1 file) | ||||
src (3 files, 2 directories) | ||||
.editorconfig | Data | Auxiliary data | ||
.php_cs.dist.php | Example | Example script | ||
CHANGELOG.md | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE.md | Lic. | License text | ||
phpunit.xml.dist | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | .github |
File | Role | Description | ||
---|---|---|---|---|
ISSUE_TEMPLATE (1 file) | ||||
workflows (2 files) | ||||
CONTRIBUTING.md | Data | Auxiliary data | ||
FUNDING.yml | Data | Auxiliary data | ||
SECURITY.md | Data | Auxiliary data |
Files | / | .github | / | workflows |
File | Role | Description |
---|---|---|
php-cs-fixer.yml | Data | Auxiliary data |
run-tests.yml | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Http (2 directories) | ||||
Translation (1 file) | ||||
LaravelTranslator.php | Class | Class source | ||
LaravelTranslatorFacade.php | Class | Class source | ||
LaravelTranslatorServiceProvider.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.