PHP Classes

File: index2.php

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   index2.php   Download  
File: index2.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 444 bytes
 

Contents

Class file image Download
<?php
// Copyright (c) Jorge Castro Castillo. All rights reserved. MIT License

include "vendor/autoload.php";
use
eftec\bladeone;
$blade=new BladeOne\BladeOne(__DIR__.'/views',__DIR__ . '/compiled');
define("BLADEONE_MODE",1); // (optional) 1=forced (test),2=run fast (production), 0=automatic, default value.

$values=['title'=>'Gentelella-bladeone | index2.blade.php ','username'=>'Hillary Trump'];
echo
$blade->run("home.index2",$values);