PHP code example of xanweb / c5-html-helpers
1. Go to this page and download the library: Download xanweb/c5-html-helpers 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/ */
xanweb / c5-html-helpers example snippets
<div class="form-group ios__toggler-form-group">
<?= $form->label($view->field('myField'), t('My Field Name'));
use \Xanweb\HtmlHelper\Head\Manager as HeadManager;
...
HeadManager::setup(function(Manager $manager) {
$manager->registerManifestFile('/path/to/manifest.webmanifest');
$manager->registerIcoFavicon('/path/to/favicon.ico');
$manager->registerSVGFavicon('/path/to/favicon.svg');
$manager->registerAppleTouchIcon('/path/to/favicon.png');
});