Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 531 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 531 Bytes

Sanemplate

Sanemplate is an opensource php library for basic PHP templating. ##How to use## To use Sanemplate, you just need to create a new Sanemplate() object, the new object can be instantiated with one optional parameter (the route of the base folder); after that, you can use the two basic methods of the library:

###makePage()### It is the main method of the template system, you can pass just a string with the filename and an associative array and it will return a string with de code ready to show your users!