PHPackages                             dereuromark/cakephp-templating - 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. dereuromark/cakephp-templating

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

dereuromark/cakephp-templating
==============================

CakePHP plugin around templating and (font) icons

0.2.13(6mo ago)535.8k↑37.8%16MITPHPPHP &gt;=8.1CI passing

Since Dec 10Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/dereuromark/cakephp-templating)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-templating)[ Docs](https://github.com/dereuromark/cakephp-templating)[ RSS](/packages/dereuromark-cakephp-templating/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (19)Used By (6)

Templating Plugin for CakePHP
=============================

[](#templating-plugin-for-cakephp)

[![CI](https://github.com/dereuromark/cakephp-templating/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-templating/actions/workflows/ci.yml?query=workflow%3ACI+branch%3Amaster)[![Coverage](https://camo.githubusercontent.com/a5bbcaecb0e3cf68658ea6169bfa146a9787ed287459705655d6abf22a4214da/68747470733a2f2f636f6465636f762e696f2f6769746875622f6465726575726f6d61726b2f63616b657068702d74656d706c6174696e672f67726170682f62616467652e737667)](https://app.codecov.io/github/dereuromark/cakephp-templating/tree/master)[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/9adc1db1f62de96d4af5678a1ecaff9e0eade14cce839cb6f766c23ccaa5a6ca/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d74656d706c6174696e672f762f737461626c652e737667)](https://packagist.org/packages/dereuromark/cakephp-templating)[![PHPStan](https://camo.githubusercontent.com/f60d96f7c2579690ab6dfa8918f777fe93a02a92301c661eb38a85861a92b780/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)[![License](https://camo.githubusercontent.com/7756248f8e7d234f3857685c78419ca0b9a851c3cd989f22de9862d203ed9850/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d74656d706c6174696e672f6c6963656e7365)](https://packagist.org/packages/dereuromark/cakephp-templating)[![Total Downloads](https://camo.githubusercontent.com/f70dc7a6a7fd4f4607043698d00dbad4361049ad9a8a98fc80c0ce521d30c56f/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d74656d706c6174696e672f642f746f74616c2e737667)](https://packagist.org/packages/dereuromark/cakephp-templating)[![Coding Standards](https://camo.githubusercontent.com/dbabe22710e675cb88cd0b12196f1477e2376dea497332775692cf1359a75918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d79656c6c6f772e737667)](https://github.com/php-fig-rectified/fig-rectified-standards)

A CakePHP plugin to

- make working with HTML and helpers more convenient
- provide (font) icons from various libraries out of the box
- together with IdeHelper also provide auto-complete on those icons

You can use one or many of the following icon sets out of the box:

- [Bootstrap](https://icons.getbootstrap.com/)
- [FontAwesome](https://fontawesome.com/icons) v4/v5/v6/v7
- [Material](https://fonts.google.com/icons)
- [Feather](https://feathericons.com/)
- [Lucide](https://lucide.dev/) (modern Feather fork with 1000+ icons)
- [Heroicons](https://heroicons.com/) (by Tailwind CSS team)

You can also add your own custom icon set.

This branch is for **CakePHP 5.1+**. See [version map](https://github.com/dereuromark/cakephp-templating/wiki#cakephp-version-map) for details.

Setup
-----

[](#setup)

```
composer require dereuromark/cakephp-templating

```

and

```
bin/cake plugin load Templating

```

Documentation
-------------

[](#documentation)

### Core Helpers

[](#core-helpers)

- **[Icon Helper](docs/Helper/Icon.md)** - Comprehensive icon rendering with support for Bootstrap, FontAwesome, Material, Feather, Lucide, and Heroicons
- **[IconSnippet Helper](docs/Helper/IconSnippet.md)** - Convenience wrappers for common icon snippet use cases
- **[Html Helper](docs/Helper/Html.md)** - Enhanced HtmlHelper with automatic `HtmlStringable` support
- **[Form Helper](docs/Helper/Form.md)** - Enhanced FormHelper with automatic `HtmlStringable` support
- **[Templating Helper](docs/Helper/Templating.md)** - Useful templating functionality for colored status indicators

### Core Concepts

[](#core-concepts)

- **[HtmlStringable](docs/HtmlStringable.md)** - Make your template code HTML aware with the `Html` value object

### Quick Start

[](#quick-start)

See [Complete Documentation](docs/README.md) for full details.

Demo
----

[](#demo)

See [sandbox.dereuromark.de/sandbox/templating-examples](https://sandbox.dereuromark.de/sandbox/templating-examples).

TODO
----

[](#todo)

- Add more useful things - help welcome

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance79

Regular maintenance activity

Popularity35

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.1% 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.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~10 days

Total

17

Last Release

181d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (98 commits)")[![josbeir](https://avatars.githubusercontent.com/u/26058?v=4)](https://github.com/josbeir "josbeir (5 commits)")

---

Tags

plugincakephpiconstemplating

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-templating/health.svg)

```
[![Health](https://phpackages.com/badges/dereuromark-cakephp-templating/health.svg)](https://phpackages.com/packages/dereuromark-cakephp-templating)
```

###  Alternatives

[dereuromark/cakephp-ajax

A CakePHP plugin that makes working with AJAX a piece of cake.

55255.9k1](/packages/dereuromark-cakephp-ajax)[shoot/shoot

Shoot aims to make providing data to your templates more manageable

40229.9k2](/packages/shoot-shoot)[backstageel/cakephp-gentelella-theme

CakePHP 3.x Gentelella Theme.

447.8k1](/packages/backstageel-cakephp-gentelella-theme)[dereuromark/cakephp-feed

A CakePHP plugin containing a RssView to generate RSS feeds.

1353.7k1](/packages/dereuromark-cakephp-feed)[dereuromark/cakephp-meta

A CakePHP plugin for SEO meta tags, OpenGraph and Twitter Cards

1012.9k1](/packages/dereuromark-cakephp-meta)

PHPackages © 2026

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