progminer/util-template-renderer

Abstract Template Renderer for different template engines

v1.1 2018-07-11 07:42 UTC

This package is auto-updated.

Last update: 2024-12-14 20:52:54 UTC


README

Latest Version on Packagist Software License Build Status Code Coverage Scrutinizer Code Quality Total Downloads

Install

Via Composer

$ composer require progminer/util-template-renderer

Usage

The library has some classes and one interface for abstracting from different template engines.

ProgMinerUtils\TemplateRenderer\ITemplateRenderer is interface for template engines abstractions. You can use it for use abstractions in your code.

Library has some included abstractions: for callable templates, for PHP templates and for Twig templates. Also, library has ProgMinerUtils\TemplateRenderer\DelegatingTemplateRenderer for use several abstractions at one time.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email eridan200@mail.ru instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.