PHP code example of rosgear / rg-wd-tagcloud

1. Go to this page and download the library: Download rosgear/rg-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/ */

    

rosgear / rg-wd-tagcloud example snippets


$cloud = Ge::$app->widgets->get('rg.wd.tagcloud', ['showCounters' => true]);
$cloud->run();

echo $this->widget('rg.wd.tagcloud', ['showCounters' => true]);

use Rg\Widget\TagCloud\Widget as Cloud;
echo Cloud::widget(['showCounters' => true]);