naf / view
NAF View Plugin with simple templating.
Requires
- php: >=8.3
- naf/framework: ^0.2
Requires (Dev)
- phpunit/php-code-coverage: ^12.1
- phpunit/phpunit: ^12.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-13 20:50:09 UTC
README
naf/view
A lightweight, native PHP templating system — with layout inheritance and block support.
This plugin brings a clean, minimal templating system to your NAF application. It lets you define base layouts, use content blocks, and safely output user data — all with pure PHP.
🧩 Part of the official NAF plugin collection. Install it when you need structured HTML rendering — without external engines like Twig or Blade.
Documentation
Everything about this package — what it does, how it is configured and what it needs — lives in the NAF documentation. Not sure which packages you need? Start here.
Install
composer require naf/view
License
MIT. Part of NAF.
