pantheraframework/raintpl4 问题修复 & 功能扩展

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

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

pantheraframework/raintpl4

Composer 安装命令:

composer require pantheraframework/raintpl4

包简介

easy and fast template engine

README 文档

README

Latest Stable Version License Total Downloads Build status Code Climate Test Coverage

RainTPL is an easy template engine for PHP that enables designers and developers to work better together, it loads HTML template to separate the view from the logic.

RainTPL4 was created as a refactored and improved RainTPL3 engine, with improved performance, new tags, better syntax and compatibility with Smarty templating engine.

Originally by Federico Ulfo and a lot awesome contributors

Features

  • New technology - supports embedding LESS, SASS, SCSS and Coffescript into <script>, <link> and <style> tags, code is automaticaly re-compilled into pure CSS and Javascript by RainTPL4 using external tools
  • Faster performance than any other templating engine for PHP offering same possibilities
  • Easy for designers, simple and understandable tags known from Smarty
  • Easy for developers, 5 methods to load and draw templates
  • Powerful - modifiers on variables, strings and functions
  • Extensible, load plugins and register new tags
  • Secure, sandbox using PHP Parser

Installation / Usage

  1. Install composer https://github.com/composer/composer

  2. Create a composer.json inside your application folder:

    {
        "require": {
            "pantheraframework/raintpl4": "@dev"
        }
    }
  3. Run the following code

    $ php composer.phar install
  4. Run one example of RainTPL with your browser: http://localhost/raintpl3/examples/example-all.php

Documentation

The documentation of RainTPL is divided in documentation for web designers and documentation for PHP developers.

统计信息

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

GitHub 信息

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

其他信息

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