Skip to content

A PHP library to translate HTSL(HyperText Structured Language) to HTML.

License

Notifications You must be signed in to change notification settings

Fenzland/Htsl.php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Htsl.php

Platform Build Status Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version License Total Downloads Monthly Downloads Daily Downloads

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

License

MIT license.

About

A PHP library to translate HTSL(HyperText Structured Language) to HTML.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages