承接 evilfreelancer/translation-key-helper 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

evilfreelancer/translation-key-helper

Composer 安装命令:

composer require evilfreelancer/translation-key-helper

包简介

Laravel plugin for displaying translation key inside HTML comments nearby text strings.

README 文档

README

Laravel plugin for displaying translation key inside HTML comments nearby text strings.

composer require evilfreelancer/translation-key-helper --dev

Please use this plugin only on development environment.

Example of usage

After installation of this plugin you can find lines like this in HTML source code on your site:

<ul id="navbar-main" class="navbar-nav">
  <li class="nav-item">
    <a class="nav-link active" href="http://localhost/posts"><!-- navbar.posts -->Posts</a>
  </li>
  <li class="nav-item">
    <a class="nav-link " href="http://localhost/news"><!-- navbar.news -->News</a>
  </li>
</ul>

Note

If you use VueJs, then you need to allow comments inside the div#app block

const app = new Vue({
    el: '#app',
	comments: true, // When set to true, HTML comments found in templates will be saved and rendered. Default: false
});

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-01-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固