Create your own tag cloud

Code
<?php

use Zend\Tag\Cloud;
use 
Zend\Tag\Item;

$items = [
    new 
Item(['title' => 'ZF2 Dbl''weight' => 100]),
    new 
Item(['title' => 'ZF2 Rand''weight' => 90]),
    new 
Item(['title' => 'ZF2 Figlet''weight' => 190]),
    new 
Item(['title' => 'SF2 Configuration''weight' => 120]),
    new 
Item(['title' => 'ZF2 BigInt''weight' => 90]),
];

// use Decorator classes for changing rendered format
$cloud = new Cloud([
    
'tags' => $items,
]);

echo 
$cloud->render();
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6