Skip to content

k-motoyan/CakeHaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakeHaml

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.

About

haml template engine for cakephp3 plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages