Skip to content

HarryPehkonen/beast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beast

A templating tool written in PHP. The templating language is also PHP.

Inspiration and original code from http://www.bigsmoke.us/php-templates/functions.

I can't remember how I came up with 'beast.' Maybe something about a simple templating language. Probably a lot to do with how tiny it actually is.

Usage

Install

curl --location -O https://github.com/HarryPehkonen/beast

Example

$beast = new Beast('./');
$content = $beast->render('template.php', $data);
echo $content;

Please also see example.php and template.php in this repository.

About

PHP-like templating language written completely in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages