dev-master
9999999-dev https://github.com/k-motoyan/CakeHamlhaml template engine for cakephp3
MIT
The Requires
The Development Requires
by k-motoyan
template cakephp haml
haml template engine for cakephp3
CakeHaml is haml template engine for cakephp3.
Using parser of MtHaml., (*2)
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)
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)
haml template engine for cakephp3
MIT
template cakephp haml