Create your own tag cloud

Code
<?php

use Laminas\Tag\Cloud;
use 
Laminas\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 8.0, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8