This isn't a ready-to-use library but rather a concept of native php templates with:
- transparent string escaping
- ability to "include" other templates
- conditions and loops support
PHP 8+ is required (it is not strictly necessary, but named arguments makes code much easier to write and understand).
See ch1p.io sources.
GPLv3