PHP code example of gearmagicru / gm-wd-tagcloud
1. Go to this page and download the library: Download gearmagicru/gm-wd-tagcloud 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/ */
gearmagicru / gm-wd-tagcloud example snippets
$cloud = Gm::$app->widgets->get('gm.wd.tagcloud', ['showCounters' => true]);
$cloud->run();
echo $this->widget('gm.wd.tagcloud', ['showCounters' => true]);
use Gm\Widget\TagCloud\Widget as Cloud;
echo Cloud::widget(['showCounters' => true]);