ablunier/laravel-lang-installer
最新稳定版本:1.1.1
Composer 安装命令:
composer require ablunier/laravel-lang-installer
包简介
Command for easily add languages to a Laravel project
README 文档
README
Install translation files for any language with a command in your laravel projects. The language files will be downloaded from the awesome caouecs languages repository.
Requirements
- PHP 5.5 or higher.
- Laravel >= 5.1
Installation
Add the package to your composer.json:
composer require ablunier/laravel-lang-installer
Add the service provider in app.php:
Ablunier\Laravel\Translation\LanguageInstallerServiceProvider::class,
Publish the package's assets:
php artisan vendor:publish
Configuration
Edit the 'lang-installer.php' file in your config folder to add your required languages and files.
Usage
Execute the command:
php artisan lang:install
统计信息
- 总下载量: 974
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 6
其他信息
- 授权协议: Unknown
- 更新时间: 2016-04-15