PHP code example of 161 / zf-octicons-view-helper
1. Go to this page and download the library: Download 161/zf-octicons-view-helper 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/ */
161 / zf-octicons-view-helper example snippets
$this->octicon('mark-github', 1); // icon size: 100%
$this->octicon('mark-github', 2); // icon size: 200%
$this->octicon('mark-github', [
'ratio' => 1, // icon size: 100%
'class' => 'octicon', // Attribute class=""
]);