baraja-core/simple-template

There is no license information available for the latest version (v1.0.0) of this package.

Simple PHP templating system for user editable templates.

v1.0.0 2022-01-23 20:55 UTC

This package is auto-updated.

Last update: 2024-04-08 16:46:19 UTC


README

Simple PHP templating system for user editable templates.

Idea

Most applications need to render templates that insert safely treated variables.

This library allows you to easily create templates that can be edited by the user. All templates are rendered in a secure manner that prevents security vulnerabilities from being created.

Each template is validated before rendering for the ability to automatically check the initialization of all variables and available data. You can also perform secure validation against test data before saving a new template.

Typical use: editable email templates or SMS messages.