cloverphp / sketch
Clover Sketch template engine
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cloverphp/sketch
Requires
- php: ^8.2
This package is auto-updated.
Last update: 2025-10-03 10:34:30 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>