定制 r7r/ste 二次开发

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

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

r7r/ste

Composer 安装命令:

composer require r7r/ste

包简介

A compiling template engine with an XML-ish syntax

关键字:

README 文档

README

The STE Template Engine (STE) is a template engine for the PHP programming language.

⚠️ No longer maintained ⚠️

For now, I no longer maintain Ratatöskr / STE. I don't use it myself any more and to my knowledge nobody else does either. The time I'd need to invest to keep up with new PHP versions and other maintenance chores therefore don't seem worth it. I might revisit this in the future, but for now, I want to focus on other things.

Get it via composer / packagist

Composer is a dependency manager and package manager for PHP. Using composer is the recommended way of installing STE.

Just put r7r/ste in your requirements (I suggest using the version 2.*) and execute composer install. Then include composer's autoloader and you can simply use all stuff in the \r7r\ste namespace without further requires or includes. Awesome!

Requirements

PHP >= 7.3

Why should you use it?

  • It's syntax (inspired by Textpattern's template syntax) is very easy and similar to the syntax of (X)HTML. So it should be easy for designers to learn this system.
  • It has a simple, yet powerful plugin interface. You can easily define your own template functions / tags. It is even possible to write them in the template language itself, which makes it kind of a programming language...
  • It can compile templates into PHP.
  • You can use anonymous functions to define custom tags.

Documentation

The docu directory contains the documentation of the template language. If you need the documentation of the php code / the API, you can create it with the mkdocu.sh script. This is done using phpDocumentor. It will be installed as a dev-depencency by composer.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固