Search by

kinetis / views-php

aln-1

Pure PHP templates for kinetis/views.

Package info

github.com/kinetis-dev/views-php

pkg:composer/kinetis/views-php

Statistics

Installs: 1

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

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


README

Kinetis

kinetis/views-php
Pure PHP templates 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.

Pure PHP templates for kinetis/views. It conflicts with the Latte and Twig adapters so an application has one unambiguous view engine.

$app->instance(Views::class, new Views(
    new PhpViewEngine(__DIR__ . '/resources/views', new AssetUrl('/')),
));

Templates use ordinary PHP and receive an invokable $asset variable. See the views documentation for the full contract and escaping guidance. Pure PHP has no generated template cache, so the common views:warm and views:clear commands are successful no-ops.

License

MIT — see LICENSE.