承接 ride/lib-template-smarty 相关项目开发

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

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

ride/lib-template-smarty

最新稳定版本:2.0.0

Composer 安装命令:

composer require ride/lib-template-smarty

包简介

Smarty engine for the template library of the Ride framework.

README 文档

README

Smarty engine for the template library of the PHP Ride framework.

Read the documentation for Smarty.

Code Sample

Check this code sample to see how to initialize this library:

use ride\library\template\engine\SmartyEngine;
use ride\library\template\engine\SmartyResourceHandler;

function createSmartyTemplateEngine(System $system) {
    $resourceHandler = new SmartyResourceHandler($system->getFileBrowser(), 'view/smarty');
    $compileDirectory = $system->getFileSystem()->getFile('/path/to/compile/cache');
    $escapeHtml = true;
    
    $engine = new SmartyEngine($resourceHandler, $compileDirectory, $escape);
    $engine->addPublicDirectory('/path/to/plugins');
    
    return $engine;
}

Implementations

You can check the related implementations of this library:

Installation

You can use Composer to install this library.

composer require ride/lib-template-smarty

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固