mantax559/laravel-translations
最新稳定版本:1.9.5
Composer 安装命令:
composer require mantax559/laravel-translations
包简介
Laravel Translations
README 文档
README
Laravel Translations
Installation & Setup
You can install the package via composer:
composer require mantax559/laravel-translations
The package will automatically register its service provider.
Customisation
Routes
To allow the user to change the language, add this route:
Route::get('language/{locale}', [\Mantax559\LaravelTranslations\Controllers\LanguageController::class, 'change'])->name('language.change');
Tests
You can run tests with the command:
vendor/bin/phpunit
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-02