kinetis / views-latte
Latte templates for kinetis/views.
v1.0.0
2026-09-13 21:41 UTC
Requires
- php: ^8.4
- kinetis/views: ^1.0.0
- latte/latte: ^3.1.6
Requires (Dev)
- infection/infection: ^0.35.0
- kinetis/framework: ^1.9.0
- phpstan/phpstan: ^2.2.8
- phpunit/phpunit: ^13.3.3
- vimeo/psalm: ^6.17
Suggests
None
Provides
None
Conflicts
Replaces
None
README
kinetis/views-latte
Latte templates for Kinetis
Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.
Latte templates for
kinetis/views. It conflicts with the
pure PHP and Twig adapters so an application has one unambiguous view engine.
$app->instance(Views::class, new Views(new LatteViewEngine( __DIR__ . '/resources/views', ViewRuntime::fromConfig(__DIR__, $config), new AssetUrl('/'), )));
Production templates compile to .kinetis-cache/views/latte; development does
not write a disk cache. See the
views documentation for views:warm,
views:clear, extension, and persistent-worker guidance.
License
MIT — see LICENSE.