PHPackages                             watson/taggly - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. watson/taggly

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

watson/taggly
=============

A modern port of the old CodeIgniter Taggly library.

1.1.3(8y ago)71.4k5[1 issues](https://github.com/dwightwatson/taggly/issues)MITPHPPHP &gt;=5.4.0

Since Jul 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dwightwatson/taggly)[ Packagist](https://packagist.org/packages/watson/taggly)[ RSS](/packages/watson-taggly/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Taggly, a tag cloud generator
=============================

[](#taggly-a-tag-cloud-generator)

Taggly is a modern port of the old CodeIgniter Taggly library by [Gavin Vickery](http://qompile.com/resources-downloads). Packaged with a service provider and facade for Laravel, this package is totally framework agnostic and will help you to generate tag clouds just like the cool kids. Note, styling the cloud is up to you!

Installation
============

[](#installation)

Simply add the package to your `composer.json` file and run `composer update`.

```
"watson/taggly": "1.0.*"

```

If you're using Laravel, be sure to register the service provider and facade if you would like to use those.

Under providers:

```
'Watson\Taggly\TagglyServiceProvider',

```

And under aliases:

```
'Tag' => 'Watson\Taggly\TagFacade',

```

Overview
--------

[](#overview)

First, let's look at what makes up a tag in Taggly. A tag is made up of 3 things:

- the tag name
- the number of times it occurs, or it's weight
- the path it should link to (optional)

You can either use an associative array or a `Watson\Taggly\Tag` object to represent a single tag. Here is how you represent a tag as an associative array:

```
$tag = array('tag' => 'Laravel', 'count' => 4, 'url' => 'https://www.laravel.com');

```

Simply passing this array to a new Tag object to use an object instead.

```
$tag = new Watson\Taggly\Tag($tag);

```

Once you have a collection of tags, you can pass them to Taggly and generate a cloud.

```
$taggly = new Watson\Taggly\Taggly;
$taggly->setTags([$tag1, $tag2, ...]);

echo $taggly->cloud();

```

You can also just pass the tags to the `cloud()` method, which is great if you're using the facade too.

```
Tag::cloud($tags);

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~285 days

Total

5

Last Release

3212d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1100408?v=4)[Dwight Watson](/maintainers/dwightwatson)[@dwightwatson](https://github.com/dwightwatson)

---

Top Contributors

[![dwightwatson](https://avatars.githubusercontent.com/u/1100408?v=4)](https://github.com/dwightwatson "dwightwatson (5 commits)")

---

Tags

laravelcloudtagtaggly

### Embed Badge

![Health badge](/badges/watson-taggly/health.svg)

```
[![Health](https://phpackages.com/badges/watson-taggly/health.svg)](https://phpackages.com/packages/watson-taggly)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
