https://github.com/eghojansu/stuck-template
Vanilla PHP Templating Engine
https://github.com/eghojansu/stuck-template
Last synced: 3 months ago
JSON representation
Vanilla PHP Templating Engine
- Host: GitHub
- URL: https://github.com/eghojansu/stuck-template
- Owner: eghojansu
- License: mit
- Created: 2021-10-11T08:48:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-11T09:18:53.000Z (over 3 years ago)
- Last Synced: 2025-02-09T12:43:12.363Z (4 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Stuck Template
==============PHP Templating engine.
Installation
------------- With composer
`composer req eghojansu/php-template:dev-master`
Usage
-----```php
render('view'); // will render './templates/view.php'
```Features
--------- PHP 8.0
- No Dependencies
- Globals
- Custom Helper
- Chainable
- Template Inheritance
- Escaping data by utilize [`htmlspecialchars`](https://www.php.net/manual/en/function.htmlspecialchars.php).Disclaimer
----------This is only simple php templating engine. The Code Coverage has reach 100% but not guaranted to be bug free.