Registry / utility / xamin-handlebars-php

xamin-handlebars-php

JSON →
library0.10.4phppackagistunverified

Handlebars template processor for PHP, implementing the Handlebars templating language.

composer require xamin/handlebars.php
INSTALL
IMPORT
SIG · XAMIN-HANDLEBARS-P
X
xamin-handlebars-php
utilityphpv0.10.4
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.

Handlebars
use Xamin\Handlebars\Handlebars;

Render a simple Handlebars template.

use Xamin\Handlebars\Handlebars; $engine = new Handlebars(); echo $engine->render('Hello {{name}}', ['name' => 'World']);
Debug
Known issues
gotchaNot fully compatible with Handlebars.js; some features may differ.
fix
Test templates thoroughly; refer to documentation.
affects: >=0.10.0
Upgrade
Version history
0.10.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
xamin-handlebars-php — pip install xamin-handlebars-php · libregistry