PHP code example of gearmagicru / gm-wd-tags

1. Go to this page and download the library: Download gearmagicru/gm-wd-tags 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-tags example snippets


$list = Gm::$app->widgets->get('gm.wd.tags',  ['sort' => 'date', limit' => 10]);
$list->run();

use Gm\Widget\Tags\Widget as List;
echo List::widget(['mode' => 'list', pagination' => ['limit' => 20]]);