cloverphp / sketch
Clover Sketch template engine
dev-main
2025-10-03 10:32 UTC
Requires
- php: ^8.2
This package is auto-updated.
Last update: 2026-03-03 11:17:51 UTC
README
Clover Sketch: Template Engine; fully inspire by Vue.js and Laravel Blade. Built-in XSS attack prevention and @CSRF token generation.
Example
<h2> {{ $name }} </h2>
Output:
<?php echo htmlspecialchar($name); ?>
Example 2
<clover:@css> h2 { color: red; } </clover:@css>
output:
<style> h2{ color: red; } </style>