Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dereuromark/cakephp-templating

A plugin for templating in CakePHP with HTML value objects, font-icons and useful helpers
https://github.com/dereuromark/cakephp-templating

Last synced: about 2 months ago
JSON representation

A plugin for templating in CakePHP with HTML value objects, font-icons and useful helpers

Awesome Lists containing this project

README

        

# 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 Status](https://img.shields.io/codecov/c/github/dereuromark/cakephp-templating/master.svg)](https://app.codecov.io/github/dereuromark/cakephp-templating/tree/master)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-templating/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-templating)
[![PHPStan](https://img.shields.io/badge/PHPStan-level%208-brightgreen.svg?style=flat)](https://phpstan.org/)
[![License](https://poser.pugx.org/dereuromark/cakephp-templating/license)](https://packagist.org/packages/dereuromark/cakephp-templating)
[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-templating/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-templating)
[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](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
- [Material](https://fonts.google.com/icons)
- [Feather](https://feathericons.com/)

You can also add your own custom icon set.

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

## Setup
```
composer require dereuromark/cakephp-templating
```
and
```
bin/cake plugin load Templating
```

## Usage

See [Docs](/docs).

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

## TODO
- Add more useful things - help welcome