lianzh/php-viewlayer

Render PHP viewlayer scripts into a PSR-7 Response object.

dev-master 2017-11-14 11:51 UTC

This package is not auto-updated.

Last update: 2024-05-17 00:47:37 UTC


README

Render PHP view scripts into a PSR-7 Response object.

<?php

require __DIR__ . '/vendor/autoload.php';

$settings = [
	'template_path'	=> __DIR__ . '/templates'
];


$renderer = new \LianzhView\Renderer($settings['template_path']);