定制 novius/laravel-caouecs-lang-extended 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

novius/laravel-caouecs-lang-extended

Composer 安装命令:

composer require novius/laravel-caouecs-lang-extended

包简介

Generate default languages files for Laravel

README 文档

README

This package gives an artisan command to publish native laravel translations in the desired language. The native translations are made by the caouecs/laravel-lang package.

Installation

You can install the package via Composer:

composer install novius/caouecs-lang-extended

Then, if you are on Laravel 5.4 (no need for Laravel 5.5 and higher), register the service provider to your config/app.php file:

'providers' => [
    ...
    Novius\Caouecs\Lang\LangGeneratorServiceProvider::class,
];

Usage

This command put languages files into resources/lang/{local} folder.

php artisan lang:install {local}

Example for publishing FR files :

php artisan lang:install fr

By default the command does not overwrite existing files. You can use --force parameters to force overriding.

php artisan lang:install fr --force

Testing

Run the tests with:

./test.sh

Lint

Run php-cs with:

./cs.sh

Contributing

Contributions are welcome!

Licence

This package is under GNU Affero General Public License v3 or (at your option) any later version.

统计信息

  • 总下载量: 4.74k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0
  • 更新时间: 2017-08-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固