PHPackages                             inventor96/mako-template-pp - 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. inventor96/mako-template-pp

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

inventor96/mako-template-pp
===========================

Mako Template++. Additional filters I use within the Mako templating system, with the ability to register more.

v1.1.0(6mo ago)0111MITPHPPHP ~8.1.0|~8.2.0|~8.3.0

Since Oct 25Pushed 6mo agoCompare

[ Source](https://github.com/inventor96/mako-template-pp)[ Packagist](https://packagist.org/packages/inventor96/mako-template-pp)[ RSS](/packages/inventor96-mako-template-pp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

Mako Template++
===============

[](#mako-template)

Additional filters I use within the Mako templating system, with the ability to register more.

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

[](#installation)

1. Install the composer package:

    ```
    composer require inventor96/mako-template-pp
    ```
2. Enable the package in Mako:
    `app/config/application.php`:

    ```
    [
        'packages' => [
            'web' => [
                \inventor96\MakoTemplatePP\TemplatePackage::class
            ],
        ],
    ];
    ```

    This will automatically register the `TemplatePP` class in the Mako View Factory as the default renderer for `.tpl.php` files.

Configuration
-------------

[](#configuration)

Configuration options are available for only the `time` filter at this time. To customize these options, create a configuration file at `app/config/packages/templatepp/template.php` with the following structure:

```
