承接 monotek/minitpl 相关项目开发

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

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

monotek/minitpl

Composer 安装命令:

composer require monotek/minitpl

包简介

Miniature fully featured PHP template engine

README 文档

README

The goal of the MiniTPL template engine is to provide a miniature framework which allows you to rapidly create and consume Smarty-like templates without adding the overhead of Smarty to your choice of a PHP framework.

In benchmarks the speed of Mini TPL is very close to PHP itself. All that is usually needed for Mini TPL is a 3KB PHP code overhead. So it beats Smarty, and usual PHP vsprintf and str_replace functionality.

With a total size of about 13KB and the functionality contained, this is one of the smallest full featured template engines for PHP to date.

MiniTPL is available on packagist as monotek/minitpl.

To start using MiniTPL in your project with composer, create a composer.json file:

{
    "require": {
        "monotek/minitpl": ">=1.0"
    }
}

And run composer install. You can start using MiniTPL right away.

<?php

include("vendor/autoload.php");

$tpl = new Monotek\MiniTPL\Template;

$tpl->load("test.tpl");
$tpl->render();

Testing

The project tries to maintain 100% code coverage. You can verify this by running phpunit --coverage-text, or uncommenting the logging section within phpunit.xml.

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: CC
  • 更新时间: 2013-04-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固