Registry / utility / zordius-lightncandy

zordius-lightncandy

JSON →
library1.2.6phppackagistunverified

An extremely fast PHP implementation of handlebars and mustache.

composer require zordius/lightncandy
INSTALL
IMPORT
SIG · ZORDIUS-LIGHTNCAND
Z
zordius-lightncandy
utilityphpv1.2.6
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.

LightnCandy
use LightnCandy\LightnCandy;

Compile and render a Mustache/Handlebars template.

<?php require 'vendor/autoload.php'; use LightnCandy\LightnCandy; $template = 'Hello {{name}}!'; $phpStr = LightnCandy::compile($template); $renderer = eval($phpStr); echo $renderer(['name' => 'World']);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.6latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
28
Resources
zordius-lightncandy — pip install zordius-lightncandy · libregistry