1. Go to this page and download the library: Download arc/html 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/ */
arc / html example snippets
use \arc\html as h;
$htmlString = h::doctype()
.h::html(
h::head(
h::title('Example site')
),
h::body(
['class' => 'homepage'],
h::h1('An example site')
)
);