PHP library to generate HTML document.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
src
tests
.gitignore
LICENSE.txt
README.md
autoload.php
composer.json
composer.lock
phpunit.xml

README.md

R2Template CircleCI

PHP library to generate HTML document.

1. Examples of use

$R2Template = new R2Template\R2Template("./templates");
$R2Template->set("var1", "foo");
$R2Template->set("var2", "bar");
$R2Template->display("echo_vars.php");// foo bar

2. Installation

2-1. Composer

Add a dependency to your project's composer.json file.

{
	"require": {
		"g737a6b/php-r2-template": "*"
	}
}

3. License

The MIT License

Copyright (c) 2017 Hiroyuki Suzuki