1. Go to this page and download the library: Download canteen/html5 library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
canteen / html5 example snippets
// Enable the global use of html()
Canteen\HTML5\HTML5::useGlobal();
// Turn on autoloading if not using composer's autoloading
Canteen\HTML5\HTML5::autoload();
echo html('img src=home.jpg');
echo html('img', 'src=home.jpg');
echo html('img', array('src'=>'home.jpg'));