Registry / utility / latte-latte

latte-latte

JSON →
library3.1.1phppackagistunverified

Intuitive and fast template engine for PHP with context-sensitive escaping for security.

composer require latte/latte
INSTALL
IMPORT
SIG · LATTE-LATTE
L
latte-latte
utilityphpv3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Engine
use Latte\Engine;

Render a Latte template with variables.

use Latte\Engine; $latte = new Engine(); $html = $latte->renderToString('template.latte', ['name' => 'World']);
Debug
Known issues
breakingRequires PHP 8.0+.
fix
Upgrade to PHP 8.0+.
affects: >=3.0.0
Upgrade
Version history
3.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
latte-latte — pip install latte-latte · libregistry