bittyphp/view

Abstract view layer for Bitty.

2.0.4 2020-02-16 05:16 UTC

This package is auto-updated.

Last update: 2022-09-20 06:07:15 UTC


README

Build Status Codacy Badge PHPStan Enabled Mutation Score Total Downloads License

Abstract view layer for Bitty.

This package merely provides the view interface and an abstract view that can be extended to provide commonly useful functionality.

Installation

It's best to install using Composer.

$ composer require bittyphp/view

Implementations

The following implementations are available. Pick and choose whichever one(s) you would like:

Twig

Twig is a wildly popular templating engine from the makers of Symfony.

$ composer require bittyphp/view-twig

Latte

Latte, from the makers of the Nette framework, promotes itself as security-focused and designer friendly.

$ composer require bittyphp/view-latte

Mustache

Mustache provides logic-less templates and has rendering support in many different programming languages.

$ composer require bittyphp/view-mustache

Plates

Plates offers native PHP template support, for those people who prefer non-compiled template languages.

$ composer require bittyphp/view-plates