定制 robinfranssen/analyzelocale 二次开发

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

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

robinfranssen/analyzelocale

最新稳定版本:0.1.5

Composer 安装命令:

composer require robinfranssen/analyzelocale

包简介

This scans your laravel project for used locale keys that aren't translated by your locale files.

README 文档

README

NOTE: As of laravel 5.2.20 you need version ^0.1.4. For laravel 5.2.19 or lower you need version 0.1.3 of this package.

This package provides you with commands to analyze the translation keys used in your Laravel 5 application.

These commands can detect untranslated and invalid keys.

Alt text

Installation

composer require robinfranssen/analyzelocale --dev

Add the service provider:

// config/app.php

'providers' => [
	...
	'RobinFranssen\AnalyzeLocale\Providers\ServiceProvider',
	...
],

Usage

From the command line, run php artisan locale:scan to see a full overview of the analyzation. This will show you all information provided by the three other locale commands.

Alt text

php artisan locale:invalid will show you the invalid keys.

Alt text

php artisan locale:untranslated will show you the untranslated keys.

Alt text

php artisan locale:allkeys will show you a table with untranslated and invalid keys.

Alt text

Every command supports the --locale flag. For example: php artisan locale:allkeys --locale=nl

Alt text

统计信息

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

GitHub 信息

  • Stars: 25
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固