PHPackages                             knifelemon/comment-template - 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. knifelemon/comment-template

ActiveLibrary[Templating &amp; Views](/categories/templating)

knifelemon/comment-template
===========================

A PHP template engine with asset compilation, template inheritance, and variable processing

v1.0.9.1(1mo ago)369MITPHPPHP &gt;=7.4

Since Oct 17Pushed 1mo agoCompare

[ Source](https://github.com/KnifeLemon/CommentTemplate)[ Packagist](https://packagist.org/packages/knifelemon/comment-template)[ RSS](/packages/knifelemon-comment-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (12)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/024addec11061b254b9deaaee5d7fb4c82493b0fe6a5adbfa65fb18646bf3b79/68747470733a2f2f706f7365722e707567782e6f72672f6b6e6966656c656d6f6e2f636f6d6d656e742d74656d706c6174652f762f737461626c65)](https://packagist.org/packages/knifelemon/comment-template)[![Total Downloads](https://camo.githubusercontent.com/80a0ab94a5c03b5d69381fe0e11f0257704cc032fa4b20578b7519f4c4b0db28/68747470733a2f2f706f7365722e707567782e6f72672f6b6e6966656c656d6f6e2f636f6d6d656e742d74656d706c6174652f646f776e6c6f616473)](https://packagist.org/packages/knifelemon/comment-template)[![Latest Unstable Version](https://camo.githubusercontent.com/fd092def217ebd106368616f8e17b74e4018d30dfb09de2378badba2a31cfd7f/68747470733a2f2f706f7365722e707567782e6f72672f6b6e6966656c656d6f6e2f636f6d6d656e742d74656d706c6174652f762f756e737461626c65)](https://packagist.org/packages/knifelemon/comment-template)[![License](https://camo.githubusercontent.com/a11c0a15f1841611e54b53541a355d324568696729d56ce9a42fc92dc231b795/68747470733a2f2f706f7365722e707567782e6f72672f6b6e6966656c656d6f6e2f636f6d6d656e742d74656d706c6174652f6c6963656e7365)](https://packagist.org/packages/knifelemon/comment-template)[![PHP Version Require](https://camo.githubusercontent.com/1137dd530863167f2ff7bd6f3916460751d00e4f89b652cc1186216574c70e5f/68747470733a2f2f706f7365722e707567782e6f72672f6b6e6966656c656d6f6e2f636f6d6d656e742d74656d706c6174652f726571756972652f706870)](https://packagist.org/packages/knifelemon/comment-template)

CommentTemplate
===============

[](#commenttemplate)

A powerful PHP template engine with asset compilation, template inheritance, and variable processing. CommentTemplate provides a simple yet flexible way to manage templates with built-in CSS/JS minification and caching.

Features
--------

[](#features)

- **Template Inheritance**: Use layouts and include other templates
- **Asset Compilation**: Automatic CSS/JS minification and caching
- **Variable Processing**: Template variables with filters and commands
- **Base64 Encoding**: Inline assets as data URIs
- **Flight Framework Integration**: Optional integration with Flight PHP framework

Installation
------------

[](#installation)

Install via Composer:

```
composer require knifelemon/comment-template
```

Quick Start
-----------

[](#quick-start)

### Basic Usage

[](#basic-usage)

```
