ottowayne/laravel-langcheck 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ottowayne/laravel-langcheck

Composer 安装命令:

composer require ottowayne/laravel-langcheck

包简介

Laravel package to find missing translation entries

README 文档

README

Adds a "lang:check" Artisan command that finds missing entries in your translation files.

This package is no longer maintained - you may look into laravel-langman

Compatibility

  • Laravel 5.0

Installation

To install via composer add the following line to your composer.json:

"ottowayne/laravel-langcheck": "dev-master"

I recommend using this package in local environments (require-dev) only.

Finally add the service provider to your app.php:

'Ottowayne\LangCheck\LangCheckServiceProvider',

Configuration

You may export the configuration file via

php artisan config:publish ottowayne/langcheck

and edit it as you like.

Usage

You can use the command

php artisan lang:check

to search for differences in all language files or edit the configuration settings to either log or throw an exception if an unused key is found.

If you want to define your own behaviour you can listen for the LangCheck::missingtranslation event.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固