承接 smarty/smarty-lint 相关项目开发

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

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

smarty/smarty-lint

Composer 安装命令:

composer require smarty/smarty-lint

包简介

SmartyLint is a PHP tool that helps you find issues in your Smarty template files. It's designed to assist you in writing cleaner and more consistent Smarty templates

README 文档

README

About

SmartyLint is a PHP program that finds problems in Smarty files. It is tool that can be used for helping yourself for writing clean Smarty template files.

Requirements

SmartyLint requires PHP version 5.2.4 or greater.

How to use?

Download SmartyLint from github and start using.

git clone git://github.com/umakantp/SmartyLint.git
cd SmartyLint
git checkout v0.2.0
php smartyl -h

See our documentation at https://github.com/umakantp/SmartyLint/wiki for more information.

Smarty conventions

If you start using SmartyLint, it would force you to follow certain standards. Conventions for Smarty files are:-

  • Should have one empty line at the bottom.
  • Should not have more than 1 empty line at the bottom
  • You should write file doc comment at the top in Java Doc format which contains short file description and all the variables used.
  • There should be no TODO's and FixMe's in the code.
  • Never use HTML comments. You should use Smarty comments {**} instead.
  • No whitespace / empty spaces at the end of each line.
  • Can have max only 2 empty lines in the content (i.e. 3 new lines in a row).

More conventions would be added as an when code is added for it.

Contributing and Issues

  • If you want to report a bug reports open new issue on github.
  • Have improvements? or Fixes? You can send in pull request for additional features or rules.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 3
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-03-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固