承接 efabrica/latte-syntax-checker 相关项目开发

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

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

efabrica/latte-syntax-checker

最新稳定版本:0.4.0

Composer 安装命令:

composer require efabrica/latte-syntax-checker

包简介

Compiles latte files and checks syntax of generated php files

README 文档

README

This library helps to find erros in latte template files, it can be used in CI tools.

Usage

latte-syntax-checker check [-b|--bootstrap BOOTSTRAP] [-c|--compiled-dir COMPILED-DIR] [--] <dirs>...

For more information, run latte-syntax-checker check check --help

The result looks like:

Errors found: 1

With verbose output you will get:

Errors found: 1

Error: Unknown macro {unknownmacro} in .../Test/default.latte:4
/var/www/test/app/Presenters/templates/Test/default.latte:4

And with very verbose there will be also part of file content with error.

Return code is count of errors found, so you can use it in CI tools.

echo $?
1

Installation

Latte syntax checker requires PHP 7.1.0 or newer. You can install it via Composer. This project is not meant to be run as a dependency, so install it globally:

composer global require efabrica/latte-syntax-checker

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固