Registry / utility / phpunit-php-text-template

phpunit-php-text-template

JSON →
library6.0.0phppackagistunverified

Simple template engine.

composer require phpunit/php-text-template
INSTALL
IMPORT
SIG · PHPUNIT-PHP-TEXT-T
P
phpunit-php-text-template
utilityphpv6.0.0
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.

Template
use SebastianBergmann\Template\Template;

Create a template with variables and render it.

<?php use SebastianBergmann\Template\Template; $template = new Template('template.php', 'replace', ['var' => 'value']); echo $template->render();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
phpunit-php-text-template — pip install phpunit-php-text-template · libregistry