Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 524 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 524 Bytes

view

The View is a template generation for PHP. It allows for creating and managing template files with template tags and variables

Installation

It's recommended that you use Composer to install View.

composer require auroralumina/view

Example

<?php

require_once 'vendor/autoload.php';

$configuration = new AuroraLumina\View\ViewConfiguration([
    __DIR__ . '/views/',
]);

$view = new AuroraLumina\View\View($configuration);

echo $view->render('index');