htsl / htsl
Htsl.php is a PHP library to translate HTSL(HyperText Structured Language) to HTML.
0.1.7
2018-02-26 09:18 UTC
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2024-04-13 17:13:45 UTC
README
A PHP library to translate HTSL(HyperText Structured Language) to HTML.
HTSL is a language designed to take place of HTML, SVG, XML or other markup language. Which is simpler, cleaner, more readable, content evident and easy to write than HTML.
An amazing sight is all browsers work with HTSL instead of HTML. But now, we must compile HTSL into HTML for browsers. So that is why Htsl.php here.
Platform
php ~7.0
Documentation
See htsl.fenzland.com.
Base Usage
Step 1. Get Htsl.php by composer
composer require htsl/htsl:@dev
Step 2. Make a instance of Htsl
$htsl= new Htsl\Htsl(/*[custom configuration here]*/);
Step 3. Compiling a HTSL file into a PHP file.
$htsl->compile($fromFile,$toFile);
Step 4. Include the compiled file.
Framework support
Laravel: Htsl 4 Laravel