dmbookpro / php-view
Simple php view renderer
v1.1.0
2017-03-25 14:03 UTC
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2024-11-09 20:45:28 UTC
README
Very simple template engine using PHP as the template language.
Supports:
- Layout (decorator)
- Partials
- Global variables (accross all templates)
Does NOT support:
- Auto-escaping for XSS, you have to take care of that yourself
Similar to / inspired by:
- Slim PHP View https://github.com/slimphp/PHP-View
- Symfony Templating Component https://github.com/symfony/templating