PHPackages                             k-motoyan/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. [Templating &amp; Views](/categories/templating)
4. /
5. k-motoyan/cake-haml

ActiveCakephp-plugin[Templating &amp; Views](/categories/templating)

k-motoyan/cake-haml
===================

haml template engine for cakephp3

171PHP

Since Dec 21Pushed 11y agoCompare

[ Source](https://github.com/k-motoyan/CakeHaml)[ Packagist](https://packagist.org/packages/k-motoyan/cake-haml)[ RSS](/packages/k-motoyan-cake-haml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CakeHaml
========

[](#cakehaml)

[![License](https://camo.githubusercontent.com/be4374a912023af126fc0b267571e7725d22f4f2437eea3e0ebec2a068f1cfd5/68747470733a2f2f706f7365722e707567782e6f72672f6b2d6d6f746f79616e2f63616b652d68616d6c2f6c6963656e73652e737667)](https://packagist.org/packages/k-motoyan/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": {
    "k-motoyan/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';
```

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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/a363a0176987b518ec7e44a8d18f4643911371f287f5bd3bc40d98572e9442a8?d=identicon)[k-motoyan](/maintainers/k-motoyan)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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