yatsenkolesh / dot-js-php-render
doT js templates render for php Edit
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/yatsenkolesh/dot-js-php-render
This package is not auto-updated.
Last update: 2025-10-18 01:09:06 UTC
README
License - BSD-3-Clause
Uses for render doT templates in PHP
Use example:
$doT = doT\doT::instance(DOCROOT.'/modules/Work/views/PR/Products/doT/option-content.php', 1); // or first code of template in first arg $doT -> assign([ 'id' => 2, 'options' => 'options-list' ]); echo $doT-> render('option-content-tmpl'); //find in file id content or just content
To install with composer
composer require yatsenkolesh/dot-js-php-render