2017 © Pedro Peláez
 

cakephp-plugin cake-haml

haml template engine for cakephp3

image

k-motoyan/cake-haml

haml template engine for cakephp3

  • Sunday, December 21, 2014
  • by k-motoyan
  • Repository
  • 0 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CakeHaml

License, (*1)

CakeHaml is haml template engine for cakephp3.
Using parser of MtHaml., (*2)

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:, (*3)

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

And run php composer.phar update, (*4)

Setup

Add plugin load line to config/bootstrap.php file:, (*5)

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

Set the default ViewClass on the src/Controller/AppController.php file:, (*6)

  class AppController extends Controller {

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

You can use haml on all your view files with .haml extension., (*7)

The Versions

21/12 2014

dev-master

9999999-dev https://github.com/k-motoyan/CakeHaml

haml template engine for cakephp3

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar k-motoyan

template cakephp haml