An open API service indexing awesome lists of open source software.

https://github.com/eghojansu/stuck-template

Vanilla PHP Templating Engine
https://github.com/eghojansu/stuck-template

Last synced: 3 months ago
JSON representation

Vanilla PHP Templating Engine

Awesome Lists containing this project

README

        

Stuck Template
==============

PHP Templating engine.

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

- With composer

`composer req eghojansu/php-template:dev-master`

Usage
-----

```php
render('view'); // will render './templates/view.php'
```

Features
--------

- PHP 8.0
- No Dependencies
- Globals
- Custom Helper
- Chainable
- Template Inheritance
- Escaping data by utilize [`htmlspecialchars`](https://www.php.net/manual/en/function.htmlspecialchars.php).

Disclaimer
----------

This is only simple php templating engine. The Code Coverage has reach 100% but not guaranted to be bug free.