Skip to content

A small HTML (and other text file) framework for small PHP applications

License

Notifications You must be signed in to change notification settings

akosnikhazy/Small-Template-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small-Template-Framework

A small HTML (and other text file) framework for small PHP applications

Setup

Just copy everything to server :D index.php is commented and explains everything.

You can create template files in the templates/html folder following the rules you see in the provided ones. Also, you can template raw strings. This comes handy when you generate template strings on the fly (for example, you have two lists of data from a database and use an ID for template and change it to the data from the other list).

Make it secure

In the cache, class, require, text folder put a .htaccess file with deny from all This is extremely important in the cache folder, as it contains pure HTML of every page/text cached. If you want to cache for example user profile page that is private: you do not want anyone in your cache folder.

About

A small HTML (and other text file) framework for small PHP applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages