https://github.com/farisc0de/templateengine
Simple PHP template handler
https://github.com/farisc0de/templateengine
php-template php-template-engine template template-engine
Last synced: 11 months ago
JSON representation
Simple PHP template handler
- Host: GitHub
- URL: https://github.com/farisc0de/templateengine
- Owner: farisc0de
- License: mit
- Created: 2021-02-23T04:45:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-24T09:20:39.000Z (almost 5 years ago)
- Last Synced: 2024-12-31T07:42:42.639Z (about 1 year ago)
- Topics: php-template, php-template-engine, template, template-engine
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TemplateEngine
Simple PHP template handler
## How to use
```php
include_once 'Template.php';
$template = new Template("layout/");
echo $template->loadTemplate("index", ["username" => "admin"]);
```