Search by

kinetis / views

aln-1

Engine-neutral view rendering for Kinetis controllers, with safe logical view names, HTML responses, and asset URLs.

v1.0.0 2026-09-13 21:41 UTC

This package is auto-updated.

Last update: 2026-09-13 22:40:41 UTC


README

Kinetis

kinetis/views
Engine-neutral view rendering for Kinetis

Packagist Version Packagist Downloads PHP Version License CI

Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.

The engine-neutral view contract for Kinetis. Controllers inject Kinetis\Views\Views and render an extensionless logical name; an application chooses one of kinetis/views-php, kinetis/views-latte, or kinetis/views-twig at bootstrap.

return $this->views->response('articles/index', ['articles' => $articles]);

The package also provides engine-neutral views:warm and views:clear commands; the selected adapter owns the actual cache behavior. See the views documentation for setup, the asset() helper, cache deployment, escaping, and persistent-worker guidance.

License

MIT — see LICENSE.