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-12-13 03:34:24 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']);