k-motoyan/cake-haml 问题修复 & 功能扩展

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

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

k-motoyan/cake-haml

Composer 安装命令:

composer require k-motoyan/cake-haml

包简介

haml template engine for cakephp3

README 文档

README

License

CakeHaml is haml template engine for cakephp3.
Using parser of MtHaml.

Installation

You can install this plugin into your CakePHP application using composer. For existing applications you can add the following to your composer.json file:

"require": {
    "k-motoyan/cake-haml": "dev-master"
}

And run php composer.phar update

Setup

Add plugin load line to config/bootstrap.php file:

+ Plugin::load('CakeHaml', ['bootstrap' => true]);

Set the default ViewClass on the src/Controller/AppController.php file:

  class AppController extends Controller {

+     public $viewClass = 'CakeHaml\\View\\CakeHamlView';

You can use haml on all your view files with .haml extension.

统计信息

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

GitHub 信息

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

其他信息

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