PHP Classes

File: examples/testComposer.php

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/testComposer.php   Download  
File: examples/testComposer.php
Role: Example script
Content type: text/plain
Description: Example script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change: Update of examples/testComposer.php
Date: 3 years ago
Size: 278 bytes
 

Contents

Class file image Download
<?php
include "../vendor/autoload.php";

echo
"this example uses composer's autocomplete<br>";

use
eftec\bladeone\BladeOne;

$views = __DIR__ . '/views';
$compiledFolder = __DIR__ . '/compiled';

$blade=new BladeOne($views,$compiledFolder,BladeOne::MODE_SLOW);


echo
"ok<br>";