PHPackages                             kamur/cake-haml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kamur/cake-haml

ActiveCakephp-plugin

kamur/cake-haml
===============

haml template engine for cakephp3

04PHP

Since Jun 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kamur/CakeHaml)[ Packagist](https://packagist.org/packages/kamur/cake-haml)[ RSS](/packages/kamur-cake-haml/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

CakeHaml
========

[](#cakehaml)

[![License](https://camo.githubusercontent.com/72499efc3ba03f925402db1a41571381bf78e764f7ec402b9cf0c66b627701d9/68747470733a2f2f706f7365722e707567782e6f72672f6b616d75722f63616b652d68616d6c2f6c6963656e73652e737667)](https://packagist.org/packages/kamur/cake-haml)

CakeHaml is haml template engine for cakephp3. Using parser of [MtHaml](https://github.com/arnaud-lb/MtHaml).

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org). For existing applications you can add the following to your `composer.json` file:

```
"require": {
    "kamur/cake-haml": "dev-master"
}
```

And run `php composer.phar update`

Setup
-----

[](#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';
+     public function beforeFilter(Event $event){
+       parent::beforeFilter($event);
+       if($this->request->is('ajax')){
+         $this->setRequest($this->request->withParam('_ext', $this->viewClass));
+       }
+     }
```

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd0f05947d1fa94885626f943d7f4865b142e2f7eb447e3b1840945801265db3?d=identicon)[kamur](/maintainers/kamur)

---

Top Contributors

[![k-motoyan](https://avatars.githubusercontent.com/u/2156831?v=4)](https://github.com/k-motoyan "k-motoyan (8 commits)")[![kamur](https://avatars.githubusercontent.com/u/2298391?v=4)](https://github.com/kamur "kamur (3 commits)")

### Embed Badge

![Health badge](/badges/kamur-cake-haml/health.svg)

```
[![Health](https://phpackages.com/badges/kamur-cake-haml/health.svg)](https://phpackages.com/packages/kamur-cake-haml)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
