raphhh/puppy-template 问题修复 & 功能扩展

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

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

raphhh/puppy-template

Composer 安装命令:

composer require raphhh/puppy-template

包简介

template module for Puppy framework

README 文档

README

Latest Stable Version Build Status Scrutinizer Quality Score Code Coverage Total Downloads Reference Status License

Template module for Puppy framework.

See Puppy framework for more information.

Installation

$ composer require raphhh/puppy-template

Documentation

Service for Twig_Environment. See Twig for more information.

Note that the services are accessible in twig templates with the global variable "services".

Twig has also a filter "link". This filter prepends the config "baseUrl" to a link.

<a href="{{ my/page|link }}">click here</a>

Config options

  • 'template.directory.main' => path to the directory of the template files.
  • 'template.directory.cache' => path to the directory of the cache of the template files.
  • 'template.debug' => indicates if the debug mode is enable in the template.
  • 'baseUrl' => gives the base url to apply for the twig filter "link".

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固