定制 amgrade/laravel-js-translations 二次开发

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

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

amgrade/laravel-js-translations

最新稳定版本:1.1.0

Composer 安装命令:

composer require amgrade/laravel-js-translations

包简介

Extract translations into JS

README 文档

README

Easy way to export Laravel translations to JavaScript.

Installation

composer require amgrade/laravel-js-translations

Then, if you don't use Laravel package autodiscovery feature, you need to add JsTranslationServiceProvider to the config/app.php.

/*
 * Package Service Providers...
 */
AMgrade\JsTranslations\JsTranslationServiceProvider::class,

Configuration

You can declare as many bundles as you wish with different options. For example, when you want to split your translations for admin part and client side part. Then just pass php artisan js-translations:extract --bundle=admin and php artisan js-translations:extract --bundle=client. For detailed configurations, please review config file.

Usage

Just run php artisan js-translations:extract.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-02