dereuromark/cakephp-templating

CakePHP plugin around templating and (font) icons

Installs: 19 429

Dependents: 6

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 0

Type:cakephp-plugin

pkg:composer/dereuromark/cakephp-templating

0.2.12 2025-10-13 09:23 UTC

This package is auto-updated.

Last update: 2025-10-25 15:59:19 UTC


README

CI Coverage Minimum PHP Version Latest Stable Version PHPStan License Total Downloads Coding 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:

You can also add your own custom icon set.

This branch is for CakePHP 5.1+. See version map for details.

Setup

composer require dereuromark/cakephp-templating

and

bin/cake plugin load Templating

Documentation

Core Helpers

  • Icon Helper - Comprehensive icon rendering with support for Bootstrap, FontAwesome, Material, Feather, Lucide, and Heroicons
  • IconSnippet Helper - Convenience wrappers for common icon snippet use cases
  • Html Helper - Enhanced HtmlHelper with automatic HtmlStringable support
  • Form Helper - Enhanced FormHelper with automatic HtmlStringable support
  • Templating Helper - Useful templating functionality for colored status indicators

Core Concepts

  • HtmlStringable - Make your template code HTML aware with the Html value object

Quick Start

See Complete Documentation for full details.

Demo

See sandbox.dereuromark.de/sandbox/templating-examples.

TODO

  • Add more useful things - help welcome