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-10-09 20:53:44 UTC


README


BRJ organisation

Simple template

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.